uwb: add permission to read SELinux state

Allows UWB HAL to read selinuxfs to determine the state
Used for controlling access to debugfs

Bug: 288049522
Test: local build pass
Change-Id: I1237d001d27999c796bbb28629847f5a5639cd3e
Signed-off-by: Hasan Awais <hasanawais@google.com>
This commit is contained in:
Hasan Awais 2023-06-29 21:40:46 +00:00
parent 01714c600b
commit 4640c96bb4

View file

@ -3,5 +3,7 @@ type hal_uwb_vendor_default_exec, vendor_file_type, exec_type, file_type;
allow hal_uwb_default uci_device:chr_file rw_file_perms;
init_daemon_domain(hal_uwb_vendor_default)
allow hal_uwb_default selinuxfs:file r_file_perms;
allow hal_uwb_default uwb_data_vendor:dir create_dir_perms;
allow hal_uwb_default uwb_data_vendor:file create_file_perms;