blob: e7e11c39510dbbbb3b58f3ddcbccfdc232eee25e [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;
7allow $1 sysfs_gpu:file { getattr open read };
Amit Pundirb9abca52020-02-19 00:12:48 +05308allow $1 graphics_device:chr_file getattr;
Amit Pundir276a0552019-11-23 22:27:15 +05309')