# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

  # Extra Mesa rules for desktop environments
  owner @{desktop_cache_dirs}/ w,
  owner @{desktop_cache_dirs}/mesa_shader_cache/ rw,
  owner @{desktop_cache_dirs}/mesa_shader_cache/index rw,
  owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/ rw,
  owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex} rw,
  owner @{desktop_cache_dirs}/mesa_shader_cache/@{h}@{h}/@{hex}.tmp rwk,
