mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 01:18:16 +01:00
feat(profile): mesa: mesa_shader_cache_db is often passed as fd.
This commit is contained in:
parent
7e3c546e3d
commit
265e3928c1
5 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue