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:
Alan Stokes 2018-05-04 14:44:02 +01:00
parent 338615d32b
commit 607d73f286

View file

@ -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)