Allow wpa_supplicant to write to files in /proc/net.
This is needed for interface configuration - see e.g. nl80211_configure_data_frame_filters. Bug: 77903086 Test: WiFi still working Change-Id: I4b5e2b59eeeb6d0ac19dbcbcf0e7e80942247893
This commit is contained in:
parent
3623c2b6c0
commit
72ed615228
1 changed files with 3 additions and 0 deletions
3
vendor/hal_wifi_supplicant_default.te
vendored
3
vendor/hal_wifi_supplicant_default.te
vendored
|
@ -8,6 +8,9 @@ net_domain(hal_wifi_supplicant_default)
|
|||
# Create a socket for receiving info from wpa
|
||||
type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "sockets";
|
||||
|
||||
# Allow wpa_supplicant to configure nl80211
|
||||
allow hal_wifi_supplicant_default proc_net:file write;
|
||||
|
||||
# Allow wpa_supplicant to talk to Wifi Keystore HwBinder service.
|
||||
hwbinder_use(hal_wifi_supplicant_default)
|
||||
allow hal_wifi_supplicant_default system_wifi_keystore_hwservice:hwservice_manager find;
|
||||
|
|
Loading…
Reference in a new issue