blob: fa8d7610f6b2c0a04356d8dd3ec0b388a39c03eb [file] [log] [blame]
# permissions for /system/bin/tune-thermal-gov.sh
type thermal_gov, domain;
type thermal_gov_exec, exec_type, file_type;
init_daemon_domain(thermal_gov)
allow thermal_gov shell_exec:file rx_file_perms;
# write to files in /sys/class/thermal/thermal_zone
allow thermal_gov sysfs:file w_file_perms;
# execute toolbox/toybox
allow locale toolbox_exec:file rx_file_perms;