Files
android_device_brcm_rpi5/sepolicy/te_macros
2025-04-04 15:31:34 +03:00

10 lines
297 B
Plaintext

#####################################
# gpu_access(client_domain)
# Allow client_domain to communicate with the GPU
define(`gpu_access', `
allow $1 gpu_device:dir r_dir_perms;
allow $1 gpu_device:chr_file rw_file_perms;
allow $1 sysfs_gpu:dir r_dir_perms;
allow $1 sysfs_gpu:file r_file_perms;
')