From: jongmyeongko Date: Thu, 21 Jul 2016 04:04:55 +0000 (+0900) Subject: Set the SMACK security label to run given executable file in systemd services X-Git-Tag: accepted/tizen/tv/20160721.091302 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Ftv%2F20160721.091302;p=platform%2Fcore%2Fappfw%2Fapp2sd.git Set the SMACK security label to run given executable file in systemd services Change-Id: If582a36ae44c0a2705dc8e28dc35bb907621ba2d Signed-off-by: jongmyeongko --- diff --git a/plugin/app2sd/app2sd-server.service.in b/plugin/app2sd/app2sd-server.service.in index 3389d63..a4a30cb 100644 --- a/plugin/app2sd/app2sd-server.service.in +++ b/plugin/app2sd/app2sd-server.service.in @@ -2,6 +2,7 @@ Description=app2sd server [Service] +SmackProcessLabel=User ExecStart=@PREFIX@/bin/app2sd-server CapabilityBoundingSet=~CAP_MAC_ADMIN CapabilityBoundingSet=~CAP_MAC_OVERRIDE