You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
313 B
10 lines
313 B
#####################################
|
|
# 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 sysfs_gpu:file { getattr open read };
|
|
dontaudit $1 graphics_device:chr_file getattr;
|
|
')
|