aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);