Allow iw to be run at init phase.

This enables native wireless interface configuration at boot.

Bug: 36120314
Test: adb shell ifconfig -a | grep wlan
Change-Id: I797c0c8a8645d690d311f42cec3998b2f4cee77b
This commit is contained in:
Tomasz Wasilczyk 2018-11-09 13:09:24 -08:00
parent a8dd89f80f
commit 2e23af5e28
2 changed files with 5 additions and 0 deletions

View file

@ -213,6 +213,7 @@
/system/bin/incident u:object_r:incident_exec:s0
/system/bin/incidentd u:object_r:incidentd_exec:s0
/system/bin/incident_helper u:object_r:incident_helper_exec:s0
/system/bin/iw u:object_r:iw_exec:s0
/system/bin/netutils-wrapper-1\.0 u:object_r:netutils_wrapper_exec:s0
/system/bin/vold u:object_r:vold_exec:s0
/system/bin/netd u:object_r:netd_exec:s0

4
private/iw.te Normal file
View file

@ -0,0 +1,4 @@
type iw, domain, coredomain;
type iw_exec, system_file_type, exec_type, file_type;
init_daemon_domain(iw)