huangcm
2024-12-18 9d29be7f7249789d6ffd0440067187a9f040c2cd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 pvr debugfs_gpu_readable:dir rw_dir_perms;
allow pvr debugfs_gpu_readable:file rw_file_perms;