mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +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
@ -24,6 +24,12 @@
|
|||||||
@{etc_rw}/localtime r,
|
@{etc_rw}/localtime r,
|
||||||
/etc/locale.conf 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,
|
@{sys}/devices/system/cpu/possible r,
|
||||||
|
|
||||||
@{PROC}/sys/kernel/core_pattern r,
|
@{PROC}/sys/kernel/core_pattern r,
|
||||||
|
Loading…
Reference in New Issue
Block a user