blob: a6430f1d861b847257b0feb8f76c87cfb7369634 [file] [log] [blame]
Randall Huang05688c62023-08-24 03:27:09 +00001type pixel-thermal-control-sh, domain;
2type pixel-thermal-control-sh_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(pixel-thermal-control-sh)
5
6userdebug_or_eng(`
7 allow pixel-thermal-control-sh vendor_toolbox_exec:file execute_no_trans;
8 allow pixel-thermal-control-sh sysfs_thermal:dir r_dir_perms;
9 allow pixel-thermal-control-sh sysfs_thermal:file rw_file_perms;
10 allow pixel-thermal-control-sh sysfs_thermal:lnk_file r_file_perms;
11 allow pixel-thermal-control-sh thermal_link_device:dir r_dir_perms;
12 get_prop(pixel-thermal-control-sh, vendor_thermal_prop)
13')