1# Thermal-engine daemon
2type thermal-engine, domain;
3type thermal-engine_exec, exec_type, vendor_file_type, file_type;
4
5# Started by init
6init_daemon_domain(thermal-engine)
7
8allow thermal-engine sysfs_thermal:dir r_dir_perms;
9allow thermal-engine sysfs_thermal:file rw_file_perms;
10
11allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
12
13# for modem throttling
14allow thermal-engine self:qipcrtr_socket create_socket_perms_no_ioctl;
15
16