Set the SMACK security label to run given executable file in systemd services 29/80829/1 accepted/tizen_ivi accepted/tizen/common/20160721.175713 accepted/tizen/ivi/20160721.090737 accepted/tizen/mobile/20160721.090436 accepted/tizen/wearable/20160721.090953 submit/tizen/20160721.003054
authorjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:46:04 +0000 (19:46 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 10:46:04 +0000 (19:46 +0900)
Change-Id: I3d4d4146a9d7eb676f2772e7fa3d039efa38a131
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
packaging/boot-animation.service
packaging/late-tizen-system.service
packaging/shutdown-animation.service
packaging/silent-animation.service

index 70bdc30..1bf6803 100644 (file)
@@ -11,6 +11,7 @@ EnvironmentFile=/run/xdg-root-env
 
 Type=oneshot
 Nice=-20
+SmackProcessLabel=System
 ExecStart=/usr/bin/boot-animation --start
 ExecStart=/bin/sleep 2
 
index a75bf38..8387011 100644 (file)
@@ -5,6 +5,7 @@ Before=tizen-system.target
 
 [Service]
 Type=oneshot
+SmackProcessLabel=System
 ExecStart=/bin/sleep 3
 
 [Install]
index ccd5963..c3cfa4f 100644 (file)
@@ -5,4 +5,5 @@ Before=shutdown.target
 
 [Service]
 Type=oneshot
+SmackProcessLabel=System
 ExecStart=/usr/bin/boot-animation --offmsg " " --clear
index 6cc4f0d..4a33b6d 100644 (file)
@@ -7,6 +7,7 @@ ConditionKernelCommandLine=|bootmode=silent
 
 [Service]
 Type=oneshot
+SmackProcessLabel=System
 ExecStart=/usr/bin/vconftool set -t int memory/boot_animation/finished 1 -f
 ExecStart=/bin/sleep 3