diff --git a/public/wificond.te b/public/wificond.te index 82c10c131684f105fb9a36f49845acac8eddadd1..0dd709f2c86389749de40fd86528485278882cac 100644 --- a/public/wificond.te +++ b/public/wificond.te @@ -4,10 +4,10 @@ type wificond_exec, exec_type, file_type; binder_use(wificond) binder_call(wificond, system_server) -binder_call(wificond, wpa) hwbinder_use(wificond) binder_call(wificond, wifi_hal_legacy) +binder_call(wificond, wpa) allow wificond wificond_service:service_manager { add find }; diff --git a/public/wpa.te b/public/wpa.te index 3cb042bdac38b05b07cbcfec273ba1dc965c2323..863b6b9fbbec9defb1a19d2467f7d5a5aa4847e2 100644 --- a/public/wpa.te +++ b/public/wpa.te @@ -21,10 +21,9 @@ allow wpa wifi_data_file:dir create_dir_perms; allow wpa wifi_data_file:file create_file_perms; unix_socket_send(wpa, system_wpa, system_server) -# Binder interface exposed by WPA. -binder_use(wpa) +# HIDL interface exposed by WPA. +hwbinder_use(wpa) binder_call(wpa, wificond) -allow wpa wpa_supplicant_service:service_manager { add find }; # Create a socket for receiving info from wpa allow wpa wpa_socket:dir create_dir_perms;