device_google_gs101/whitechapel/vendor/google/shell.te
Ken Yang fcb9c033a1 WLC: Add required sysfs_wlc sepolicies
The sysfs_wlc is still required for certain services like
hal_health_default. Add these sepolicies to pass the tests.

Bug: 267171670
Change-Id: Ic4dca7a34e8ed9b096a650b1df4bb58290425117
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-31 15:02:51 +00:00

11 lines
349 B
Text

allow shell eco_service:service_manager find;
# Allow access to the SJTAG kernel interface from the shell
userdebug_or_eng(`
allow shell sysfs_sjtag:dir r_dir_perms;
allow shell sysfs_sjtag:file rw_file_perms;
')
dontaudit shell proc_vendor_sched:dir search;
dontaudit shell proc_vendor_sched:file write;
dontaudit shell sysfs_wlc:dir search;