diff --git a/vendor/hal_usb_impl.te b/vendor/hal_usb_impl.te index 99644e8..2ec4888 100644 --- a/vendor/hal_usb_impl.te +++ b/vendor/hal_usb_impl.te @@ -21,3 +21,8 @@ allow hal_usb_impl fwk_stats_service:service_manager find; # For reading the usb-c throttling stats 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;