From 355a8483bccecb70d16a5b940dc1455d936bd54d Mon Sep 17 00:00:00 2001 From: Subash Abhinov Kasiviswanathan Date: Fri, 23 Feb 2018 13:09:14 -0700 Subject: msm8996-common: Add vendor prefix to data vendor binaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes an issue where the data binaries were not starting up due to the updated sepolicies. A sepolicy denial was seen in that case similar to the following - selinux: avc:  denied  { set } for property=ctl.netmgrd pid=1170 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:ctl_default_prop:s0 tclass=property_service permissive=0 CRs-Fixed: 2191664 Change-Id: I41ff0d8f3280b9438c163fab6db5fff3293f28d0 Signed-off-by: Davide Garberi --- rootdir/etc/init.qcom.rc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1afa87c..11a34aa 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -364,7 +364,7 @@ on property:sys.boot_completed=1 on property:persist.env.fastdorm.enabled=true setprop persist.radio.data_no_toggle 1 -service cnd /vendor/bin/cnd +service vendor.cnd /vendor/bin/cnd class main user system group system wifi inet radio wakelock net_admin @@ -394,19 +394,19 @@ service tftp_server /vendor/bin/tftp_server user root writepid /dev/cpuset/system-background/tasks -service atfwd /vendor/bin/ATFWD-daemon +service vendor.atfwd /vendor/bin/ATFWD-daemon class late_start user system group system radio writepid /dev/cpuset/system-background/tasks -service netmgrd /vendor/bin/netmgrd +service vendor.netmgrd /vendor/bin/netmgrd class main user root group root wifi wakelock radio inet writepid /dev/cpuset/system-background/tasks -service ipacm /vendor/bin/ipacm +service vendor.ipacm /vendor/bin/ipacm class main user radio group radio inet @@ -429,7 +429,7 @@ service sensors /vendor/bin/sensors.qcom on property:ro.use_data_netmgrd=false # netmgr not supported on specific target - stop netmgrd + stop vendor.netmgrd # Adjust socket buffer to enlarge TCP receive window for high bandwidth # but only if ro.data.large_tcp_window_size property is set. -- cgit v1.2.3