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