summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheoleun moon <chleun.moon@samsung.com>2016-07-06 01:43:14 (GMT)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-07-06 01:43:14 (GMT)
commit0a714ce6194d231e509310aa69a230e7e5914853 (patch)
tree1d434bcaec4fbc66c15dec8cbba0c940faea4920
parent36491bda01888633c150676417a7e9de7686a795 (diff)
parentc05244f7516f69a9b3d25ec79277408f6045be6a (diff)
downloadconnman-accepted/tizen/wearable/20160706.082135.zip
connman-accepted/tizen/wearable/20160706.082135.tar.gz
connman-accepted/tizen/wearable/20160706.082135.tar.bz2
-rwxr-xr-xpackaging/connman.spec2
-rwxr-xr-xsrc/connman.service.in1
2 files changed, 3 insertions, 0 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index e2ef631..3e7c99c 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -174,6 +174,8 @@ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus
%endif
%post
+chsmack -a 'System' /%{_localstatedir}/lib/connman
+chsmack -a 'System' /%{_localstatedir}/lib/connman/settings
%preun
diff --git a/src/connman.service.in b/src/connman.service.in
index ae7cbea..503ec45 100755
--- a/src/connman.service.in
+++ b/src/connman.service.in
@@ -10,6 +10,7 @@ Restart=on-failure
ExecStart=@sbindir@/connmand -n --noplugin vpn
StandardOutput=null
CapabilityBoundingSet=~CAP_MAC_ADMIN
+CapabilityBoundingSet=~CAP_MAC_OVERRIDE
[Install]
WantedBy=multi-user.target