Support sending vendor command to GL852G via libusbhost
libusbhost need access to USB device fs. Bug: 261923350 Bug: 340665903 Test: no audit log in logcat after command execution Change-Id: I4b0c8cc750eff12d2494504f9f215d5b1bab35fd
This commit is contained in:
parent
3ef50e762f
commit
ff802c138e
1 changed files with 5 additions and 0 deletions
5
vendor/hal_usb_impl.te
vendored
5
vendor/hal_usb_impl.te
vendored
|
@ -21,3 +21,8 @@ allow hal_usb_impl fwk_stats_service:service_manager find;
|
||||||
|
|
||||||
# For reading the usb-c throttling stats
|
# For reading the usb-c throttling stats
|
||||||
allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
|
allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
|
||||||
|
|
||||||
|
# For issuing vendor commands to USB hub via libusbhost
|
||||||
|
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue