summaryrefslogtreecommitdiff
path: root/thermal/init-thermal-logging.sh.te
blob: 3da540e378bed6e71d6f23254f0f89aae9aaa984 (plain)
1
2
3
4
5
6
7
8
9
10
type init-thermal-logging-sh, domain;
type init-thermal-logging-sh_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(init-thermal-logging-sh)

userdebug_or_eng(`
  allow init-thermal-logging-sh vendor_toolbox_exec:file rx_file_perms;
  allow init-thermal-logging-sh sysfs_thermal:dir r_dir_perms;
  allow init-thermal-logging-sh sysfs_thermal:file r_file_perms;
')