diff --git a/basic/non_plat/mtk_hal_usb.te b/basic/non_plat/mtk_hal_usb.te index be28b9b..fbe8003 100644 --- a/basic/non_plat/mtk_hal_usb.te +++ b/basic/non_plat/mtk_hal_usb.te @@ -12,5 +12,8 @@ hal_server_domain(mtk_hal_usb, hal_usb_gadget) r_dir_file(mtk_hal_usb, sysfs_usb_nonplat) allow mtk_hal_usb sysfs_usb_nonplat:file w_file_perms; +allow mtk_hal_usb configfs:dir { create rmdir }; +allow mtk_hal_usb functionfs:dir { watch watch_reads }; + set_prop(mtk_hal_usb, vendor_mtk_usb_prop) get_prop(mtk_hal_usb, usb_control_prop)