blob: e8eab79c3022e6aeab4588196ad1f0f307ace206 [file] [log] [blame]
type pvrsrvctl, domain, domain_deprecated;
type pvrsrvctl_exec, exec_type, file_type;
# Started by init
init_daemon_domain(pvrsrvctl)
# allow access to /dev/dri/card0
allow pvrsrvctl gpu_device:chr_file rw_file_perms;
# allow graphics driver initialization
allow pvrsrvctl self:capability sys_admin;
# enable pipe communication between appdomain processes and
# surfaceflinger for gralloc subchannel feature (dynamic fbc)
allow bootanim surfaceflinger:fifo_file rw_file_perms;
allow system_server surfaceflinger:fifo_file rw_file_perms;
allow appdomain surfaceflinger:fifo_file rw_file_perms;
allow mediaserver surfaceflinger:fifo_file rw_file_perms;
allow dumpstate surfaceflinger:fifo_file rw_file_perms;