summaryrefslogtreecommitdiff
path: root/sepolicy/sensortool.te
blob: c2f44fcad0f761357a89f683d50257ff4f3e07f7 (plain)
1
2
3
4
5
6
7
8
9
10
type sensortool, domain, device_domain_deprecated;
type sensortool_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(sensortool)

allow sensortool sensors_device:chr_file rw_file_perms;
allow sensortool self:capability sys_nice;

allow sensortool persist_file:dir search;
allow sensortool persist_sensortool_file:file r_file_perms;