projects
/
platform
/
upstream
/
gumd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43aa1f5
)
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
author
Yunjin Lee
<yunjin-.lee@samsung.com>
Wed, 20 Jul 2016 12:31:32 +0000
(21:31 +0900)
committer
Yunjin 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
patch
|
blob
|
history
diff --git
a/packaging/gumd.spec
b/packaging/gumd.spec
index
0a59e5c
..
40da7ea
100644
(file)
--- a/
packaging/gumd.spec
+++ b/
packaging/gumd.spec
@@
-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