From 6e921948024e0a3ca4c9d816b39c9f84b9a5302a Mon Sep 17 00:00:00 2001 From: Chris Weir Date: Thu, 24 Mar 2022 16:45:20 -0700 Subject: [PATCH] Allow wpa_supplicant to access Netlink Interceptor wpa_supplicant needs permission to access the Netlink Interceptor HAL. Bug: 224844967 Test: Modified version of wpa_supplicant can access Netlink Interceptor Change-Id: I80c6c980b6655beadfaf14535702ad8e96c2befe --- vendor/hal_wifi_supplicant_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/hal_wifi_supplicant_default.te b/vendor/hal_wifi_supplicant_default.te index b6b9e09fe..7c0846870 100644 --- a/vendor/hal_wifi_supplicant_default.te +++ b/vendor/hal_wifi_supplicant_default.te @@ -30,3 +30,6 @@ get_prop(hal_wifi_supplicant_default, device_logging_prop) # policy. This is dontaudited here to avoid conditional # device-specific behavior in wpa_supplicant. dontaudit hal_wifi_supplicant_default wifi_data_file:dir search; + +# Allow wpa supplicant to access Netlink Interceptor +hal_client_domain(hal_wifi_supplicant_default, hal_nlinterceptor)