Set SmackProcessLabel in service file according to the profile 85/80885/1 accepted/tizen/common/20160721.175825 accepted/tizen/ivi/20160721.090752 accepted/tizen/mobile/20160721.090500 accepted/tizen/tv/20160721.091319 accepted/tizen/wearable/20160721.091025 submit/tizen/20160721.003054
authorYunjin Lee <yunjin-.lee@samsung.com>
Wed, 20 Jul 2016 12:31:32 +0000 (21:31 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 20 Jul 2016 12:31:32 +0000 (21:31 +0900)
Change-Id: I2228ad4a335ee9b06f0a2f088cec0bc6afaf0a9a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
packaging/gumd.spec

index 0a59e5c..40da7ea 100644 (file)
@@ -89,6 +89,9 @@ cp -a %{SOURCE1001} %{name}.manifest
 cp -a %{SOURCE1002} libgum.manifest
 %if %{disable_cap_admin} == 1
 echo "CapabilityBoundingSet=~CAP_MAC_ADMIN" >> data/gumd.service
+echo "SmackProcessLabel=System" >> data/gumd.service
+%else
+echo "SmackProcessLabel=System::Privileged" >> data/gumd.service
 %endif
 
 %build