You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
445 B
17 lines
445 B
type pvr, domain;
|
|
type pvr_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
# Started by init
|
|
init_daemon_domain(pvr)
|
|
|
|
# allow access to /dev/dri/
|
|
allow pvr gpu_device:chr_file rw_file_perms;
|
|
|
|
# allow graphics driver initialization
|
|
allow pvr self:capability sys_module;
|
|
allow pvr vendor_file:system module_load;
|
|
|
|
# allow reading /sys/devices/soc0/machine
|
|
allow pvr sysfs_socinfo:dir { r_dir_perms };
|
|
allow pvr sysfs_socinfo:file { r_file_perms };
|