Set the SMACK security label to run given executable file in systemd services 63/80863/1 accepted/tizen/common/20160721.175725 accepted/tizen/ivi/20160721.090738 accepted/tizen/mobile/20160721.090438 accepted/tizen/tv/20160721.091259 accepted/tizen/wearable/20160721.090959 submit/tizen/20160721.003054
authorjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 11:42:28 +0000 (20:42 +0900)
committerjooseong lee <jooseong.lee@samsung.com>
Wed, 20 Jul 2016 11:42:28 +0000 (20:42 +0900)
Change-Id: I0b019cec8bb2709b686be8343e9757a06c1ae61a
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
resources/usr/lib/systemd/system/net-config.service

index 000ca9a..b887746 100755 (executable)
@@ -5,6 +5,7 @@ After=dbus.socket
 
 [Service]
 Type=forking
+SmackProcessLabel=System
 ExecStartPre=-/usr/sbin/net-config.service
 ExecStart=/usr/sbin/net-config
 Restart=always