• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
10allow thermal-engine sysfs_msm_subsys:dir r_dir_perms;
11allow thermal-engine sysfs_msm_subsys:file r_file_perms;
12
13allow thermal-engine self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
14
15# for modem throttling
16allow thermal-engine self:qipcrtr_socket create_socket_perms_no_ioctl;
17
18allow thermal-engine self:socket create_socket_perms;
19allowxperm thermal-engine self:socket ioctl msm_sock_ipc_ioctls;
20
21# reboot/shutdown for thermal limits exceeded
22set_prop(thermal-engine, powerctl_prop)
23
24dontaudit thermal-engine kernel:system module_request;
25