diff options
author | Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> | 2018-02-23 13:09:14 -0700 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-01-26 13:56:26 +0100 |
commit | 355a8483bccecb70d16a5b940dc1455d936bd54d (patch) | |
tree | de6618d913951e80f37f3ea84d6e873610dbe48b /rootdir/etc/init.qcom.rc | |
parent | 67c356e1ae8a92b90a439f2805c5cddb0fec928d (diff) |
msm8996-common: Add vendor prefix to data vendor binaries
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 <dade.garberi@gmail.com>
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rw-r--r-- | rootdir/etc/init.qcom.rc | 10 |
1 files 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. |