From 9d7fa8cc399f8ebaa3cf1f95dc0751b62b3ed5ab Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 11 May 2016 10:56:42 -0700 Subject: Grant netmgrd proper unix perms Do not grant DAC override permission which would allow this daemon unix permissions to everything. avc: denied { dac_override } for capability=1 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability Adding wifi group to access /data/misc/net/rt_tables -rw-r--r-- 1 system wifi 130 2016-05-11 09:58 rt_tables wakelock group to access: /sys/power/wake_lock -rw-rw---- 1 radio wakelock 4096 1970-01-19 15:03 wake_lock radio/inet groups to access /dev/socket/netmgr/netmgr_connect_socket srw-rw---- 1 radio inet 0 1970-01-19 15:03 netmgr_connect_socket Change-Id: I7ed6a98dd85bf7efa8cab0b8a0851217f030ba8b --- rootdir/init.qcom.rc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 1165db7..a3a744d 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -392,6 +392,8 @@ service macaddrsetup /system/bin/macaddrsetup /sys/devices/platform/bcmdhd_wlan/ service netmgrd /system/bin/netmgrd class late_start + user root + group root wifi wakelock radio inet on property:ro.radio.noril=true stop ril-daemon -- cgit v1.2.3