blob: c7d2715110be6ac4c6d3bd99d0216e9e7b6de70b [file] [log] [blame]
#####################################
# gpu_access(client_domain)
# Allow client_domain to communicate with the GPU
define(`gpu_access', `
allow $1 dri_device:dir { open read search };
allow $1 sysfs_gpu:dir search;
allow $1 gpu_device:chr_file { getattr ioctl map open read write };
allow $1 graphics_device:chr_file { getattr };
allow $1 sysfs_gpu:file { getattr open read };
allow $1 hal_graphics_allocator_default_tmpfs:file { read write };
')