From: jooseong lee Date: Wed, 20 Jul 2016 10:46:04 +0000 (+0900) Subject: Set the SMACK security label to run given executable file in systemd services X-Git-Tag: accepted/tizen/common/20160721.175713^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=103d04c38fbb61b282c0c36e7bb85a84d61a5373;p=apps%2Fnative%2Fboot-animation.git Set the SMACK security label to run given executable file in systemd services Change-Id: I3d4d4146a9d7eb676f2772e7fa3d039efa38a131 Signed-off-by: jooseong lee --- diff --git a/packaging/boot-animation.service b/packaging/boot-animation.service index 70bdc30..1bf6803 100644 --- a/packaging/boot-animation.service +++ b/packaging/boot-animation.service @@ -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 diff --git a/packaging/late-tizen-system.service b/packaging/late-tizen-system.service index a75bf38..8387011 100644 --- a/packaging/late-tizen-system.service +++ b/packaging/late-tizen-system.service @@ -5,6 +5,7 @@ Before=tizen-system.target [Service] Type=oneshot +SmackProcessLabel=System ExecStart=/bin/sleep 3 [Install] diff --git a/packaging/shutdown-animation.service b/packaging/shutdown-animation.service index ccd5963..c3cfa4f 100644 --- a/packaging/shutdown-animation.service +++ b/packaging/shutdown-animation.service @@ -5,4 +5,5 @@ Before=shutdown.target [Service] Type=oneshot +SmackProcessLabel=System ExecStart=/usr/bin/boot-animation --offmsg " " --clear diff --git a/packaging/silent-animation.service b/packaging/silent-animation.service index 6cc4f0d..4a33b6d 100644 --- a/packaging/silent-animation.service +++ b/packaging/silent-animation.service @@ -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