From: DoHyun Pyun Date: Thu, 24 Dec 2020 01:51:07 +0000 (+0900) Subject: Modify the capability option for systemd X-Git-Tag: accepted/tizen/unified/20210128.132355~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a7220f2c592e5c9be6aaa23a4c2e2ed77eed170;p=platform%2Fupstream%2Fbluez.git Modify the capability option for systemd Change-Id: I401965ca58820038f23c1caac0bd5bc2b114a233 Signed-off-by: DoHyun Pyun --- diff --git a/mesh/bluetooth-mesh.service.in b/mesh/bluetooth-mesh.service.in index 62b6dcf..6483106 100644 --- a/mesh/bluetooth-mesh.service.in +++ b/mesh/bluetooth-mesh.service.in @@ -7,7 +7,7 @@ Group=network_fw Type=dbus BusName=org.bluez.mesh ExecStart=@pkglibexecdir@/bluetooth-meshd --nodetach --debug --use_raw -Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=eip +Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=i SecureBits=keep-caps SmackProcessLabel=System KillMode=process diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in index 9b31421..11de4cb 100755 --- a/src/bluetooth.service.in +++ b/src/bluetooth.service.in @@ -8,7 +8,7 @@ Group=network_fw Type=dbus BusName=org.bluez ExecStart=@pkglibexecdir@/bluetoothd -d -C -Capabilities=cap_net_admin,cap_net_bind_service,cap_dac_override=eip +Capabilities=cap_net_admin,cap_net_raw,cap_net_bind_service,cap_dac_override=i SecureBits=keep-caps SmackProcessLabel=System KillMode=process