Add all thermal HAL sepolicy and makefile to the new common folder. Bug: 289146743 Test: Compilation test Change-Id: I133dcdac20a970e7ff4026fa503e46fd073be34f Signed-off-by: Ram Chandrasekar <rchandrasekar@google.com>
14 lines
589 B
Plaintext
14 lines
589 B
Plaintext
type pixel-thermal-control-sh, domain;
|
|
type pixel-thermal-control-sh_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(pixel-thermal-control-sh)
|
|
|
|
userdebug_or_eng(`
|
|
allow pixel-thermal-control-sh vendor_toolbox_exec:file execute_no_trans;
|
|
allow pixel-thermal-control-sh sysfs_thermal:dir r_dir_perms;
|
|
allow pixel-thermal-control-sh sysfs_thermal:file rw_file_perms;
|
|
allow pixel-thermal-control-sh sysfs_thermal:lnk_file r_file_perms;
|
|
allow pixel-thermal-control-sh thermal_link_device:dir r_dir_perms;
|
|
get_prop(pixel-thermal-control-sh, vendor_thermal_prop)
|
|
')
|