device_google_gs201/whitechapel_pro/shell.te
Ken Yang 1d9a7c5877 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: Id2687a4ac72e04e537704d036155167b68aeca7c
Signed-off-by: Ken Yang <yangken@google.com>
2023-02-05 02:30:34 +00:00

8 lines
216 B
Text

# 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;
')
# wlc
dontaudit shell sysfs_wlc:dir search;