Add cap_net_raw to bluetooth-meshd 37/241137/1 accepted/tizen/unified/20200819.035935 submit/tizen/20200818.003628
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 18 Aug 2020 00:26:43 +0000 (00:26 +0000)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Tue, 18 Aug 2020 00:28:22 +0000 (00:28 +0000)
Change-Id: I7c69b3a6774b77daa0a728c9e41da7f7c6b8c354

config/set_capability

index 555ac00c1379e3fa9acdd34bc23fbf357aa69232..ebccc7e9d96a64bc540afe52a14ae3dbe589531e 100755 (executable)
@@ -581,13 +581,14 @@ fi
 # Package               platform/upstream/bluez
 # Owner                 Dohyun Pyun(dh79.pyun@samsung.com)
 # Date                  Jun 08, 2020
-# Required              /usr/libexec/bluetooth/bluetooth-meshd : cap_dac_override, cap_net_admin, cap_net_bind_service : ei
+# Required              /usr/libexec/bluetooth/bluetooth-meshd : cap_dac_override, cap_net_admin, cap_net_bind_service, cap_net_raw : ei
 # cap_dac_override     to access bridge device
 # cap_net_admin                to use network-related operations
 # cap_net_bind_service to call bind
+# cap_net_raw          to use HCI RAW socket
 
 if [ -e "/usr/libexec/bluetooth/bluetooth-meshd" ]
-then /usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_dac_override=ei /usr/libexec/bluetooth/bluetooth-meshd
+then /usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_dac_override,cap_net_raw=ei /usr/libexec/bluetooth/bluetooth-meshd
 fi
 
 # Package               platform/core/system/dlog