Commit | Line | Data |
---|---|---|
ce9dd018 S |
1 | type thermal_manager_exec, exec_type, file_type; |
2 | type thermal_manager, domain, domain_deprecated; | |
3 | ||
4 | init_daemon_domain(thermal_manager) | |
5 | ||
6 | allow thermal_manager self:capability { fowner fsetid chown fsetid dac_override }; | |
7 | allow thermal_manager proc_thermal:dir search; | |
8 | allow thermal_manager proc_thermal:file rw_file_perms; | |
9 | allow thermal_manager proc_mtkcooler:dir search; | |
10 | allow thermal_manager proc_mtkcooler:file rw_file_perms; | |
11 | allow thermal_manager proc_mtktz:dir search; | |
12 | allow thermal_manager proc_mtktz:file rw_file_perms; | |
13 | allow thermal_manager thermal_manager_data_file:dir rw_dir_perms; | |
14 | allow thermal_manager thermal_manager_data_file:file create_file_perms; |