Set the SMACK security label to run given executable file in systemd services 32/80832/1 accepted/tizen/3.0/ivi/20161011.053501 accepted/tizen/3.0/mobile/20161015.032254 accepted/tizen/3.0/tv/20161016.003425 accepted/tizen/3.0/wearable/20161015.080311 accepted/tizen/common/20160720.173436 accepted/tizen/ivi/20160721.002329 accepted/tizen/mobile/20160721.002113 accepted/tizen/tv/20160721.002213 accepted/tizen/wearable/20160721.002140 submit/tizen/20160720.105441 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
authorjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:50:43 +0000 (19:50 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:50:43 +0000 (19:50 +0900)
Change-Id: Icafca25d7e5201bbc67e8e25e77ce6e9cd139acc
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
packaging/bluetooth-hci-device.service
packaging/bluetooth-hciattach@.service

index e05228c..2b259e0 100644 (file)
@@ -4,6 +4,7 @@ StopWhenUnneeded=yes
 
 [Service]
 Type=oneshot
+SmackProcessLabel=System
 ExecStart=/usr/etc/bluetooth/bt-dev-start.sh
 ExecStop=/usr/etc/bluetooth/bt-dev-end.sh
 RemainAfterExit=yes
index 00ec9e9..9d49d09 100644 (file)
@@ -5,6 +5,7 @@ After=bluetooth-hci-device.service
 
 [Service]
 Type=oneshot
+SmackProcessLabel=System
 ExecStartPre=-/bin/mkdir -p /run/bluetooth/
 ExecStart=/bin/touch /run/bluetooth/%I
 ExecStop=/bin/rm /run/bluetooth/%I