1allow hal_wifi_default vendor_wlan_device:chr_file w_file_perms; 2allow hal_wifi_default vendor_wifi_vendor_data_file:dir rw_dir_perms; 3 4# write to files owned by location daemon 5allow hal_wifi_default vendor_location_socket:dir rw_dir_perms; 6allow hal_wifi_default vendor_location_socket:{sock_file lnk_file} create_file_perms; 7allow hal_wifi_default vendor_location:unix_dgram_socket sendto; 8allow hal_wifi_default lowi_server:unix_dgram_socket sendto; 9 10# Connect to vendor_location via vendor_location socket. 11unix_socket_connect(hal_wifi, vendor_location, vendor_location) 12allow hal_wifi_default vendor_wifihal_socket:dir rw_dir_perms; 13allow hal_wifi_default vendor_wifihal_socket:sock_file create_file_perms; 14 15# allow hal_wifi to write into /proc/debugdriver/driverdump 16r_dir_file(hal_wifi_default, vendor_proc_wifi_dbg); 17 18# Write wlan driver/fw version into property 19set_prop(hal_wifi_default, vendor_wifi_version) 20