Support monitoring USB sysfs attributes in USB HAL
Grant access to USB sysfs attributes. Bug: 285199434 Test: no audit log in logcat after command execution Change-Id: Ic9c61cb5153e06eb9db15f4451a4e6769d688431
This commit is contained in:
parent
fd002a1434
commit
40bf4a249d
1 changed files with 4 additions and 0 deletions
4
whitechapel/vendor/google/hal_usb_impl.te
vendored
4
whitechapel/vendor/google/hal_usb_impl.te
vendored
|
@ -26,3 +26,7 @@ allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
|
|||
|
||||
# For checking contaminant detection status
|
||||
get_prop(hal_usb_impl, vendor_usb_config_prop);
|
||||
|
||||
# For monitoring usb sysfs attributes
|
||||
allow hal_usb_impl sysfs_wakeup:dir search;
|
||||
allow hal_usb_impl sysfs_wakeup:file r_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue