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 ac0ad44..cd60922 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 5427780..bed8cce 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 46b4266..e360a7c 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