1type init-thermal-symlinks-sh, domain;
2type init-thermal-symlinks-sh_exec, exec_type, vendor_file_type, file_type;
3
4init_daemon_domain(init-thermal-symlinks-sh)
5
6allow init-thermal-symlinks-sh vendor_toolbox_exec:file rx_file_perms;
7allow init-thermal-symlinks-sh thermal_link_device:dir rw_dir_perms;
8allow init-thermal-symlinks-sh thermal_link_device:lnk_file create_file_perms;
9allow init-thermal-symlinks-sh sysfs_thermal:dir r_dir_perms;
10allow init-thermal-symlinks-sh sysfs_thermal:file r_file_perms;
11allow init-thermal-symlinks-sh sysfs_thermal:lnk_file r_file_perms;
12set_prop(init-thermal-symlinks-sh, vendor_thermal_prop)
13