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

  abi <abi/4.0>,

  owner @{run}/flatpak/pulse/config r,

  @{sys}/class/ r,
  @{sys}/class/sound/ r,
  @{sys}/devices/virtual/sound/seq/uevent r,
  @{sys}/devices/virtual/sound/timer/uevent r,

  /dev/snd/       r,
  /dev/snd/*      rw,
  /dev/sound/*    rw,

  include if exists <abstractions/flatpak/sockets/pulseaudio.d>

# vim:syntax=apparmor
