sepolicy_vndr: add policy for hostapd
This commit gives hostapd permissions rw_dir_perms to open, search, write, add_name, remove_name in wifi data files. Change-Id: Ifc39cd245da035512af89733b55f57e9ce608f00 CRs-Fixed: 3008412
This commit is contained in:
parent
26c2f7d447
commit
809262547f
1 changed files with 1 additions and 1 deletions
2
qva/vendor/common/hal_wifi_hostapd.te
vendored
2
qva/vendor/common/hal_wifi_hostapd.te
vendored
|
@ -29,7 +29,7 @@
|
|||
r_dir_file(hal_wifi_hostapd_default, vendor_wifi_vendor_data_file)
|
||||
allow hal_wifi_hostapd_default hostapd_data_file:dir rw_dir_perms;
|
||||
allow hal_wifi_hostapd_default hostapd_data_file:file create_file_perms;
|
||||
allow hal_wifi_hostapd_default vendor_wifi_vendor_data_file:dir write;
|
||||
allow hal_wifi_hostapd_default vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
# Allow hostapd to create control socket under its data folder
|
||||
allow hal_wifi_hostapd_default hostapd_data_file:sock_file create_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in a new issue