aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2017-03-26 14:30:50 +0200
committerAndreas Blaesius <skate4life@gmx.de>2017-03-26 17:00:16 +0000
commitdb4b47a61bfe421245683513c641d89f86e990f9 (patch)
treef803ed7289ab0d25282d78f8f0bf7d166086f20e
parent9455dbf0bc83d09f8fb1f13fcb74a91f9819fa87 (diff)
downloaddevice_samsung_espressowifi-db4b47a61bfe421245683513c641d89f86e990f9.zip
device_samsung_espressowifi-db4b47a61bfe421245683513c641d89f86e990f9.tar.gz
device_samsung_espressowifi-db4b47a61bfe421245683513c641d89f86e990f9.tar.bz2
espresso: move cbd to /system/vendor/bin
Change-Id: I8de03f749d2cc79fbe8a40bc9061f0d1592fb2b1
-rw-r--r--rootdir/init.espresso.rc3
-rw-r--r--sepolicy/cpboot-daemon.te3
2 files changed, 4 insertions, 2 deletions
diff --git a/rootdir/init.espresso.rc b/rootdir/init.espresso.rc
index 552513c..225a3a2 100644
--- a/rootdir/init.espresso.rc
+++ b/rootdir/init.espresso.rc
@@ -149,11 +149,10 @@ service iprenew_bt-pan /system/bin/dhcpcd -n
disabled
oneshot
-service cpboot-daemon /sbin/cbd -d -p 8
+service cpboot-daemon /system/vendor/bin/cbd -d -p 8
class main
user root
group radio cache inet misc audio sdcard_rw log sdcard_r
- seclabel u:r:cpboot-daemon:s0
# GPS
service gpsd /system/bin/gpsd -c /system/etc/gps.xml
diff --git a/sepolicy/cpboot-daemon.te b/sepolicy/cpboot-daemon.te
index 6e38177..1f43673 100644
--- a/sepolicy/cpboot-daemon.te
+++ b/sepolicy/cpboot-daemon.te
@@ -1 +1,4 @@
type cpboot-daemon, domain;
+type cpboot-daemon_exec, exec_type, file_type;
+
+init_daemon_domain(cpboot-daemon);