2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

abstractions/mesa: allow checking if the kernel supports the i915 perf interface

On current Debian sid, applications that use mesa need this access.
This commit is contained in:
intrigeri
2020-03-31 09:14:58 +00:00
parent d4296d217c
commit 61571da1a8

View File

@@ -4,6 +4,10 @@
# System files
/dev/dri/ r, # libGLX_mesa.so calls drmGetDevice2()
# Needed to check if the kernel supports the i915 perf interface
# (src/intel/perf/gen_perf.c, load_oa_metrics())
@{PROC}/sys/dev/i915/perf_stream_paranoid r,
# User files
owner @{HOME}/.cache/ w, # if user clears all caches
owner @{HOME}/.cache/mesa_shader_cache/ w,