summaryrefslogtreecommitdiff
path: root/sepolicy/te_macros
blob: 322827aee77dd215c055d026acd5bf94568c1f21 (plain)
1
2
3
4
5
6
7
8
#####################################
# 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 };
')