common: sepolicy: legacy: More WIFI HAL denial fixes

Change-Id: I9f736317b8157838a65e3107d8c6aceb29a045a9
Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
Jprimero15 2023-05-28 08:02:24 +08:00 committed by Joshua Primero
parent d41d3eb369
commit a296eb57a5
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,10 @@
#
#
allow hal_wifi_default mnt_vendor_file:dir r_dir_perms;
allow hal_wifi_default proc_net:file rw_file_perms;
allow hal_wifi_default wcnss_persist_file:file r_file_perms;
# write to files owned by location daemon
allow hal_wifi_default location_socket:dir search;
allow hal_wifi_default location:unix_dgram_socket sendto;
@ -49,6 +53,8 @@ allow hal_wifi proc_modules:file r_file_perms;
r_dir_file(hal_wifi_default, proc_wifi_dbg)
get_prop(hal_wifi_default, vendor_softap_prop)
get_prop(hal_wifi_default, persist_vendor_debug_wifi_prop)
# allow hal_wifi to write into /data/vendor/tombstones/wifi
userdebug_or_eng(`
allow hal_wifi_server vendor_tombstone_data_file:dir rw_dir_perms;