2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-29 13:28:19 +00:00

abstractions/mesa: more radv_builtin_shaders files

reported by darix

(cherry picked from commit 521a81ebfbae4ca6f16e8482fc8746e4ab2a5e85)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Christian Boltz 2025-05-06 23:36:38 +02:00 committed by John Johansen
parent 2df16cc5a2
commit a23b0ec4a0

View File

@ -28,6 +28,12 @@
owner @{HOME}/.cache/mesa_shader_cache_db/part*/mesa_cache.db rwkl,
owner @{HOME}/.cache/mesa_shader_cache_db/part*/mesa_cache.idx rwkl,
owner @{HOME}/.cache/radv_builtin_shaders/ rw,
owner @{HOME}/.cache/radv_builtin_shaders/index rwlk,
owner @{HOME}/.cache/radv_builtin_shaders/part*/ rw,
owner @{HOME}/.cache/radv_builtin_shaders/part*/mesa_cache.db rwlk,
owner @{HOME}/.cache/radv_builtin_shaders/part*/mesa_cache.idx rwlk,
# Fallback location when @{HOME}/.cache is not available
owner /tmp/Temp-[a-f0-9]*/mesa_shader_cache/ rw,
owner /tmp/Temp-[a-f0-9]*/mesa_shader_cache/index rw,
@ -35,7 +41,5 @@
owner /tmp/Temp-[a-f0-9]*/mesa_shader_cache/[a-f0-9][a-f0-9]/[0-9a-f]* rw,
owner /tmp/Temp-[a-f0-9]*/mesa_shader_cache/[a-f0-9][a-f0-9]/[0-9a-f]*.tmp rwk,
owner @{HOME}/.cache/radv_builtin_shaders/index rw,
# Include additions to the abstraction
include if exists <abstractions/mesa.d>