blob: c7d2715110be6ac4c6d3bd99d0216e9e7b6de70b [file] [log] [blame]
Amit Pundir276a0552019-11-23 22:27:15 +05301#####################################
2# gpu_access(client_domain)
3# Allow client_domain to communicate with the GPU
4define(`gpu_access', `
5allow $1 dri_device:dir { open read search };
6allow $1 sysfs_gpu:dir search;
John Stultzf1cee112020-09-18 20:54:06 +00007allow $1 gpu_device:chr_file { getattr ioctl map open read write };
8allow $1 graphics_device:chr_file { getattr };
Amit Pundir276a0552019-11-23 22:27:15 +05309allow $1 sysfs_gpu:file { getattr open read };
Caleb Connollyd10b5fd2022-04-05 14:57:22 +010010allow $1 hal_graphics_allocator_default_tmpfs:file { read write };
Amit Pundir276a0552019-11-23 22:27:15 +053011')