Set SmackProcessLabel to System::Privileged 16/80916/1 develop_plugin accepted/tizen/common/20160721.175710 accepted/tizen/ivi/20160721.090736 accepted/tizen/mobile/20160721.090434 accepted/tizen/tv/20160721.091257 accepted/tizen/wearable/20160721.090946 submit/tizen/20160721.003054
authorYunjin Lee <yunjin-.lee@samsung.com>
Thu, 21 Jul 2016 01:48:07 +0000 (10:48 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Thu, 21 Jul 2016 01:48:07 +0000 (10:48 +0900)
Change-Id: I2420fc1d679607bd2d9b855ec9547a31ee98290e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
packaging/sdbd_device.service
packaging/sdbd_emulator.service
packaging/sdbd_tcp.service

index ac0ad445dba5e9e28453c534f7663d015684a46f..cd60922654192f052769a589ecd7cb64b1926afb 100644 (file)
@@ -10,6 +10,7 @@ Type=forking
 EnvironmentFile=-/run/tizen-system-env
 PIDFile=/tmp/.sdbd.pid
 Restart=on-failure
+SmackProcessLabel=System::Privileged
 ExecStart=/usr/sbin/sdbd
 
 [Install]
index 54277808df9cfb3e6c479a0c5c0f5f5fe5e9978b..bed8cce72f70111abef8c9dedc20c933a2fe7fc1 100644 (file)
@@ -12,6 +12,7 @@ Environment=DISPLAY=:0
 PIDFile=/tmp/.sdbd.pid
 RemainAfterExit=yes
 #ExecStartPre=/bin/bash -c "/bin/echo '10.0.2.15/32 system::debugging_network' >> /smack/netlabel"
+SmackProcessLabel=System::Privileged
 ExecStart=/bin/sh -c "/usr/sbin/sdbd `/usr/bin/awk '{match($0, /sdb_port=([0-9]+)/,port_match); match($0, /vm_name=([^, ]*)/,vm_match); print \"--emulator=\" vm_match[1] \":\" port_match[1] \" --connect-to=10.0.2.2:26099\" \" --sensors=10.0.2.2:\"port_match[1]+3 }' /proc/cmdline`"
 
 [Install]
index 46b42666b08574d9af1982b1136ef8f475e3f25d..e360a7c3d5e76f316167f49369a3d7ce6471240c 100644 (file)
@@ -7,4 +7,5 @@ Type=forking
 Environment=DISPLAY=:0
 PIDFile=/tmp/.sdbd.pid
 RemainAfterExit=yes
+SmackProcessLabel=System::Privileged
 ExecStart=/usr/sbin/sdbd --listen-port=26101