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:
2
vendor/hal_uwb_vendor_default.te
vendored
2
vendor/hal_uwb_vendor_default.te
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user