From: Seonah Moon Date: Thu, 6 Oct 2016 10:33:30 +0000 (+0900) Subject: Change UID/GID to network_fw X-Git-Tag: accepted/tizen/common/20161110.153722^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a41805fb170951e82e2f3243ea648fc0a78cc49f;p=platform%2Fcore%2Fconnectivity%2Fmobileap-agent.git Change UID/GID to network_fw Change-Id: I8ffc2e59b3af3db8f906b57b47d2f3479a3c2d76 Signed-off-by: Seonah Moon --- diff --git a/packaging/mobileap-agent.service b/packaging/mobileap-agent.service index c3be6d8..c80db3c 100644 --- a/packaging/mobileap-agent.service +++ b/packaging/mobileap-agent.service @@ -2,10 +2,11 @@ Description=Start mobileap-agent for tethering and softap [Service] -User=root +User=network_fw +Group=network_fw Type=dbus BusName=org.tizen.MobileapAgent SmackProcessLabel=System ExecStart=/usr/bin/mobileap-agent -CapabilityBoundingSet=~CAP_MAC_ADMIN -CapabilityBoundingSet=~CAP_MAC_OVERRIDE +Capabilities=cap_dac_override,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_sys_admin=i +SecureBits=keep-caps diff --git a/packaging/mobileap-agent.spec b/packaging/mobileap-agent.spec index e51fb9e..bd082ae 100644 --- a/packaging/mobileap-agent.spec +++ b/packaging/mobileap-agent.spec @@ -1,6 +1,6 @@ Name: mobileap-agent Summary: Mobile AP daemon for setting tethering environments -Version: 1.0.78 +Version: 1.0.79 Release: 1 Group: System/Network License: Apache-2.0