summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-06-30 17:31:39 +0900
committerhyunuktak <hyunuk.tak@samsung.com>2016-06-30 17:31:42 +0900
commitabf80432683584631f8ac5c3f507ea09bad8023b (patch)
treeb4ca1ae608a205c1e22933863e88ac754f809d65
parent7715d834e4be90b050c1b5d9421d6317894ddcae (diff)
downloadconnman-abf80432683584631f8ac5c3f507ea09bad8023b.tar.gz
connman-abf80432683584631f8ac5c3f507ea09bad8023b.tar.bz2
connman-abf80432683584631f8ac5c3f507ea09bad8023b.zip
Change-Id: I5e140d9ec4d3de94a429e97206045407461b59ae Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xpackaging/connman.spec3
-rwxr-xr-xsrc/connman.service.in1
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index d0b2b2c4..a0e28193 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -4,7 +4,7 @@
Name: connman
Version: 1.29
-Release: 13
+Release: 14
License: GPL-2.0+
Summary: Connection Manager
Url: http://connman.net
@@ -174,6 +174,7 @@ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus
%endif
%post
+chsmack -a 'System' /%{_localstatedir}/lib/connman
%preun
diff --git a/src/connman.service.in b/src/connman.service.in
index ae7cbea8..503ec455 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