1type pvr, domain;
2type pvr_exec, exec_type, vendor_file_type, file_type;
3
4# Started by init
5init_daemon_domain(pvr)
6
7# allow access to /dev/dri/
8allow pvr gpu_device:chr_file rw_file_perms;
9
10# allow graphics driver initialization
11allow pvr self:capability sys_module;
12allow pvr vendor_file:system module_load;
13
14# allow reading /sys/devices/soc0/machine
15allow pvr sysfs_socinfo:dir { r_dir_perms };
16allow pvr sysfs_socinfo:file { r_file_perms };
17