1type 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 set_prop(pixel-thermal-control-sh, vendor_thermal_prop) 13') 14