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: Ida489f0f8788100795613de900fd06317087d9cc
This commit is contained in:
parent
e5bfccd0fd
commit
36313e7bc9
1 changed files with 4 additions and 0 deletions
|
@ -29,3 +29,7 @@ allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
|
|||
allow hal_usb_impl device:dir r_dir_perms;
|
||||
allow hal_usb_impl usb_device:chr_file rw_file_perms;
|
||||
allow hal_usb_impl usb_device:dir r_dir_perms;
|
||||
|
||||
# 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