2022-02-18 19:22:12 -05:00
|
|
|
type vendor_init_hw, domain;
|
|
|
|
type vendor_init_hw_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(vendor_init_hw)
|
|
|
|
|
|
|
|
allow vendor_init_hw self:capability sys_module;
|
|
|
|
allow vendor_init_hw vendor_file:system module_load;
|
|
|
|
|
|
|
|
allow vendor_init_hw vendor_proc_hw:dir r_dir_perms;
|
|
|
|
allow vendor_init_hw vendor_proc_hw:file rw_file_perms;
|
|
|
|
|
|
|
|
allow vendor_init_hw vendor_motobox_exec:file rx_file_perms;
|
|
|
|
allow vendor_init_hw vendor_toolbox_exec:file rx_file_perms;
|
|
|
|
|
|
|
|
set_prop(vendor_init_hw, vendor_mot_hw_prop)
|
|
|
|
set_prop(vendor_init_hw, vendor_mot_touch_prop)
|
2022-09-03 01:57:37 -04:00
|
|
|
set_prop(vendor_init_hw, vendor_radio_prop)
|
2022-03-09 16:49:45 -05:00
|
|
|
|
2022-08-11 14:53:48 -04:00
|
|
|
allow vendor_init_hw vendor_file:file execute_no_trans;
|
|
|
|
|
|
|
|
allow vendor_init_hw kmsg_device:chr_file rw_file_perms;
|