Merge from tizen_3.0 11/97311/1 accepted/tizen/common/20161114.171604 accepted/tizen/ivi/20161114.074504 accepted/tizen/mobile/20161114.074415 accepted/tizen/tv/20161114.074428 accepted/tizen/wearable/20161114.074449 submit/tizen/20161114.043131
authorchleun.moon <chleun.moon@samsung.com>
Mon, 14 Nov 2016 01:04:19 +0000 (10:04 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Mon, 14 Nov 2016 01:04:27 +0000 (10:04 +0900)
Change attribute for daemon and set uid/gid into service
Added ntp enable feature when profile is ivi
Modified to get security info for ssid scan
Fixed coding rule issues

Change-Id: I16d5c2679626644399f715ece0264fef41321664
Signed-off-by: cheoleun <chleun.moon@samsung.com>
1  2 
packaging/net-config.spec
resources/usr/lib/systemd/system/net-config.service

@@@ -144,8 -147,8 +147,8 @@@ ln -sf %{_unitdir}/net-config.service %
  
  %files
  %manifest net-config.manifest
--%attr(500,root,root) %{_sbindir}/*
--%attr(644,root,root) %{_sysconfdir}/resolv.conf
++%attr(755,root,root) %{_sbindir}/*
++%attr(644,network_fw,network_fw) %{_sysconfdir}/resolv.conf
  %attr(644,root,root) %{_datadir}/dbus-1/system-services/*
  #DBus DAC
  %attr(644,root,root) %{_sysconfdir}/dbus-1/system.d/*
@@@ -8,8 -8,8 +8,8 @@@ Type=forkin
  SmackProcessLabel=System
  ExecStart=/usr/sbin/net-config
  Restart=always
--CapabilityBoundingSet=~CAP_MAC_ADMIN
--CapabilityBoundingSet=~CAP_MAC_OVERRIDE
++User=network_fw
++Group=network_fw
  
  [Install]
  WantedBy=multi-user.target