2018-06-23 17:07:05 +03:00
|
|
|
# vim:syntax=apparmor
|
|
|
|
# Rules for Mesa implementation of the OpenGL API
|
|
|
|
|
|
|
|
# System files
|
|
|
|
/dev/dri/ r, # libGLX_mesa.so calls drmGetDevice2()
|
|
|
|
|
|
|
|
# User files
|
|
|
|
owner @{HOME}/.cache/ w, # if user clears all caches
|
|
|
|
owner @{HOME}/.cache/mesa_shader_cache/ w,
|
|
|
|
owner @{HOME}/.cache/mesa_shader_cache/index rw,
|
|
|
|
owner @{HOME}/.cache/mesa_shader_cache/??/ w,
|
2018-07-24 07:21:51 +00:00
|
|
|
owner @{HOME}/.cache/mesa_shader_cache/??/* rwk,
|
2018-06-23 17:07:05 +03:00
|
|
|
|
2019-01-24 03:03:11 -08:00
|
|
|
|
|
|
|
# Include additions to the abstraction
|
|
|
|
#include if exists <abstractions/mesa.d>
|