Skip to content
Snippets Groups Projects
Commit b1590adc authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

wpa_supplicant: move control sockets to /data/vendor

Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets
Change-Id: I217c0eda0e5af50bb603cfcc35d60bf0d9cad72e
parent 080bfa01
No related branches found
No related tags found
No related merge requests found
# Hostapd conf files
type hostapd_data_file, file_type, data_file_type;
type wpa_data_file, file_type, data_file_type;
......@@ -54,3 +54,4 @@
# Data files
#
/data/vendor/wifi/hostapd(/.*)? u:object_r:hostapd_data_file:s0
/data/vendor/wifi/wpa(/.*)? u:object_r:wpa_data_file:s0
......@@ -12,3 +12,7 @@ type_transition hal_wifi_supplicant_default wifi_data_file:dir wpa_socket "socke
hwbinder_use(hal_wifi_supplicant_default)
allow hal_wifi_supplicant_default system_wifi_keystore_hwservice:hwservice_manager find;
binder_call(hal_wifi_supplicant_default, wifi_keystore_service_server)
allow hal_wifi_supplicant_default wpa_data_file:dir create_dir_perms;
allow hal_wifi_supplicant_default wpa_data_file:file create_file_perms;
allow hal_wifi_supplicant_default wpa_data_file:sock_file create_file_perms;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment