1# permissions for /system/bin/tune-thermal-gov.sh 2type thermal_gov, domain, domain_deprecated; 3type thermal_gov_exec, exec_type, file_type; 4 5init_daemon_domain(thermal_gov) 6 7allow thermal_gov shell_exec:file rx_file_perms; 8 9# write to files in /sys/class/thermal/thermal_zone 10allow thermal_gov sysfs:file w_file_perms; 11 12# execute toolbox/toybox 13allow thermal_gov toolbox_exec:file rx_file_perms; 14