Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 1 | ##################################### |
2 | # gpu_access(client_domain) | ||||
3 | # Allow client_domain to communicate with the GPU | ||||
4 | define(`gpu_access', ` | ||||
5 | allow $1 dri_device:dir { open read search }; | ||||
6 | allow $1 sysfs_gpu:dir search; | ||||
7 | allow $1 sysfs_gpu:file { getattr open read }; | ||||
8 | ') |