blob: be28b9bef3a64e6a5e622a9ed68e840fba62e1dc [file] [log] [blame]
# ==============================================
# Common SEPolicy Rule
# ==============================================
type mtk_hal_usb, domain;
type mtk_hal_usb_exec, exec_type, file_type, vendor_file_type;
init_daemon_domain(mtk_hal_usb)
hal_server_domain(mtk_hal_usb, hal_usb)
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;
set_prop(mtk_hal_usb, vendor_mtk_usb_prop)
get_prop(mtk_hal_usb, usb_control_prop)