diff options
author | Jeff Vander Stoep <jeffv@google.com> | 2016-05-11 10:56:42 -0700 |
---|---|---|
committer | Steven Lay <arbiter1000@gmail.com> | 2017-09-27 08:24:06 +0000 |
commit | 9d7fa8cc399f8ebaa3cf1f95dc0751b62b3ed5ab (patch) | |
tree | 7097fb9af9eef4841be8044f5cd92677e1533a98 /rootdir/init.qcom.rc | |
parent | 2725f5354afc113c7ea675ad97e55ee3970b6bcf (diff) |
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
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r-- | rootdir/init.qcom.rc | 2 |
1 files changed, 2 insertions, 0 deletions
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 |