mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-02 15:25:27 +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:
@@ -4,6 +4,10 @@
|
|||||||
# System files
|
# System files
|
||||||
/dev/dri/ r, # libGLX_mesa.so calls drmGetDevice2()
|
/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
|
# User files
|
||||||
owner @{HOME}/.cache/ w, # if user clears all caches
|
owner @{HOME}/.cache/ w, # if user clears all caches
|
||||||
owner @{HOME}/.cache/mesa_shader_cache/ w,
|
owner @{HOME}/.cache/mesa_shader_cache/ w,
|
||||||
|
Reference in New Issue
Block a user