Set the SMACK security label to run given executable file in systemd services 33/80833/1 accepted/tizen/common/20160720.173435 accepted/tizen/ivi/20160721.002329 accepted/tizen/mobile/20160721.002112 accepted/tizen/tv/20160721.002212 accepted/tizen/wearable/20160721.002139 submit/tizen/20160720.105441
authorjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:52:14 +0000 (19:52 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:52:14 +0000 (19:52 +0900)
Change-Id: I4cba64a05c3c14382b5eb78889dba566ac0bf9e8
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
packaging/bluetooth-hci-device.service
packaging/bluetooth-hciattach@.service

index e340bc3abdb0155a19c4fddd0ea6aee62954fd51..99b48888f2f13c43b422bc30394a6ffc8324ec7a 100644 (file)
@@ -4,7 +4,7 @@ StopWhenUnneeded=yes
 
 [Service]
 Type=oneshot
-SmackProcessLabel=systemd::script::bt_firmware
+SmackProcessLabel=System
 ExecStart=/usr/etc/bluetooth/bt-dev-start.sh
 ExecStop=/usr/etc/bluetooth/bt-dev-end.sh
 RemainAfterExit=yes
index ce8bb0d7425ef4a1a675a73e0d3ab67c95f0d418..9d49d0948bd0dfa8faf663efc1a65f66ab9baa5b 100644 (file)
@@ -5,7 +5,7 @@ After=bluetooth-hci-device.service
 
 [Service]
 Type=oneshot
-SmackProcessLabel=systemd::script::bt_firmware
+SmackProcessLabel=System
 ExecStartPre=-/bin/mkdir -p /run/bluetooth/
 ExecStart=/bin/touch /run/bluetooth/%I
 ExecStop=/bin/rm /run/bluetooth/%I