1 type sensortool, domain, device_domain_deprecated; 2 type sensortool_exec, exec_type, file_type; 3 4 init_daemon_domain(sensortool) 5 6 allow sensortool sensors_device:chr_file rw_file_perms; 7 allow sensortool self:capability { dac_override sys_nice }; 8 9 allow sensortool persist_file:dir search; 10 allow sensortool persist_sensortool_file:file r_file_perms; 11