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: Ia5f3333318b47f4e0a05140bd6b95e939197fde5
This commit is contained in:
parent
04e1c629f9
commit
8849e1a49a
1 changed files with 4 additions and 0 deletions
4
vendor/hal_usb_impl.te
vendored
4
vendor/hal_usb_impl.te
vendored
|
@ -15,3 +15,7 @@ wakelock_use(hal_usb_impl);
|
||||||
|
|
||||||
# For interfacing with ThermalHAL
|
# For interfacing with ThermalHAL
|
||||||
hal_client_domain(hal_usb_impl, hal_thermal);
|
hal_client_domain(hal_usb_impl, hal_thermal);
|
||||||
|
|
||||||
|
# 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