Home | History | Annotate | Download | only in sepolicy
      1 type pvrsrvctl, domain;
      2 type pvrsrvctl_exec, exec_type, file_type;
      3 
      4 # Started by init
      5 init_daemon_domain(pvrsrvctl)
      6 
      7 # allow access to /dev/dri/card0
      8 allow pvrsrvctl gpu_device:chr_file rw_file_perms;
      9 
     10 # allow graphics driver initialization
     11 allow pvrsrvctl self:capability sys_admin;
     12