android_device_motorola_sm6.../sepolicy/vendor/vendor_init_hw.te
dianlujitao 3605aa48b1 sm7325-common: Ensure multisim property gets set at early stage
Change-Id: I8066dbd0a466f008ec1ce3144b76922fe1b7e750
2022-09-03 12:27:22 -06:00

20 lines
719 B
Text

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)
set_prop(vendor_init_hw, vendor_radio_prop)
allow vendor_init_hw vendor_file:file execute_no_trans;
allow vendor_init_hw kmsg_device:chr_file rw_file_perms;