android_device_oneplus_sm81.../sepolicy/vendor/hal_param_default.te

17 lines
618 B
Plaintext

type hal_param_default, domain;
hal_server_domain(hal_param_default, hal_param)
type hal_param_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_param_default)
allow hal_param_default self:qipcrtr_socket create_socket_perms_no_ioctl;
# Allow hal_param_default search in block_device
allow hal_param_default block_device:dir search;
# Allow hal_param_default to read and write to param_block_device
allow hal_param_default param_block_device:blk_file rw_file_perms;
# Allow hal_param_default to read and write to param_device
allow hal_param_default param_device:chr_file rw_file_perms;