sm8250-common: sepolicy: Initial vendor sepolicy

Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
This commit is contained in:
LuK1337
2021-01-05 20:04:57 +01:00
parent 507155e7a5
commit f9c9767e3b
40 changed files with 588 additions and 0 deletions

18
sepolicy/vendor/hal_param_default.te vendored Normal file
View File

@@ -0,0 +1,18 @@
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 block_device:dir search;
allow hal_param_default param_block_device:blk_file rw_file_perms;
allow hal_param_default param_device:chr_file rw_file_perms;
r_dir_file(hal_param_default, sysfs_project_info)
get_prop(hal_param_default, exported_default_prop)
get_prop(hal_param_default, exported2_default_prop)