1##################################### 2# gpu_access(client_domain) 3# Allow client_domain to communicate with the virgl GPU 4define(`gpu_access', ` 5allow $1 gpu_device:dir { open read search }; 6allow $1 gpu_device:chr_file { getattr ioctl map open read write }; 7allow $1 graphics_device:chr_file { getattr }; 8allow $1 sysfs_gpu:file { getattr open read }; 9') 10