summaryrefslogtreecommitdiff
path: root/vendor/qcom/common/thermal-engine.te
blob: 719365a820d900a08263d3c71325b241627c5811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Thermal-engine daemon
type thermal-engine, domain;
type thermal-engine_exec, exec_type, vendor_file_type, file_type;

# Started by init
init_daemon_domain(thermal-engine)

allow thermal-engine sysfs_thermal:dir r_dir_perms;
allow thermal-engine sysfs_thermal:file rw_file_perms;

allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;

# for modem throttling
allow thermal-engine self:qipcrtr_socket create_socket_perms_no_ioctl;