feat(profile): mesa: mesa_shader_cache_db is often passed as fd.

This commit is contained in:
Alexandre Pujol 2024-09-01 20:13:51 +01:00
parent 7e3c546e3d
commit 265e3928c1
Failed to generate hash of commit
5 changed files with 5 additions and 0 deletions

View file

@ -4,6 +4,7 @@
# Extra Mesa rules for desktop environments
owner @{desktop_cache_dirs}/ w,
owner @{desktop_cache_dirs}/mesa_shader_cache_db/ rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/ rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/@{hex2}/ rw,
owner @{desktop_cache_dirs}/mesa_shader_cache/@{hex2}/@{hex38} rw,

View file

@ -11,6 +11,7 @@ include <tunables/global>
profile chromium-wrapper @{exec_path} {
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/mesa>
@{exec_path} r,

View file

@ -10,6 +10,7 @@ include <tunables/global>
@{exec_path} = @{bin}/xkbcomp
profile xkbcomp @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/mesa>
include <abstractions/X-strict>
unix (send,receive) type=stream addr=none peer=(label=gnome-shell),

View file

@ -404,6 +404,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected,mediate_deleted) {
profile open flags=(attach_disconnected,mediate_deleted,complain) {
include <abstractions/base>
include <abstractions/mesa>
network inet stream,
network unix stream,

View file

@ -15,6 +15,7 @@ profile terminator @{exec_path} flags=(attach_disconnected) {
include <abstractions/consoles>
include <abstractions/dconf-write>
include <abstractions/desktop>
include <abstractions/mesa>
include <abstractions/nameservice-strict>
include <abstractions/python>