mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
fix(abs): base: allow inherited mesa cache
mesa 24.2 introduced a shader disk cache which is enabled by default, which opens quite a lot of fd. They are not closed and get inherited by child programs. Denying it can cause crash, so we are allowing it globally while the issue is beeing fixed in mesa. See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11810
This commit is contained in:
parent
db064b651e
commit
4ccf2156de
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,12 @@
|
|||
@{etc_rw}/localtime r,
|
||||
/etc/locale.conf r,
|
||||
|
||||
# mesa 24.2 introduced a shader disk cache which opens quite a lot of fd.
|
||||
# They are not closed and get inherited by child programs. Denying it can cause
|
||||
# crash, so we are allowing it globally while the issue is beeing fixed in mesa.
|
||||
owner @{user_cache_dirs}/mesa_shader_cache_db/part@{int}/mesa_cache.db rw,
|
||||
owner @{user_cache_dirs}/mesa_shader_cache_db/part@{int}/mesa_cache.idx rw,
|
||||
|
||||
@{sys}/devices/system/cpu/possible r,
|
||||
|
||||
@{PROC}/sys/kernel/core_pattern r,
|
||||
|
|
Loading…
Reference in a new issue