Use proc_net_type instead of proc_net.
This restores the change made in ag/3883322, which was inadvertently reverted with the combination of ag/3998755 and the merge of aosp/666885. Bug: 9496886 Bug: 68016944 Test: Builds, device boots, no denial seen. Change-Id: I6af83c5bf982283d69ac31c0495471079555c894
This commit is contained in:
parent
338615d32b
commit
607d73f286
1 changed files with 1 additions and 1 deletions
2
vendor/hal_wifi_supplicant_default.te
vendored
2
vendor/hal_wifi_supplicant_default.te
vendored
|
@ -9,7 +9,7 @@ net_domain(hal_wifi_supplicant_default)
|
|||
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 hal_wifi_supplicant_default proc_net_type:file write;
|
||||
|
||||
# Allow wpa_supplicant to talk to Wifi Keystore HwBinder service.
|
||||
hwbinder_use(hal_wifi_supplicant_default)
|
||||
|
|
Loading…
Reference in a new issue