apparmor.d/apparmor.d/profiles-s-z/start-pulseaudio-x11
2024-04-03 21:04:18 +01:00

27 lines
588 B
Plaintext

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/start-pulseaudio-x11
profile start-pulseaudio-x11 @{exec_path} {
include <abstractions/base>
include <abstractions/X-strict>
@{exec_path} mr,
@{sh_path} rix,
@{bin}/head rix,
@{bin}/pactl rPx,
@{bin}/plasmashell rPx,
@{bin}/sed rix,
/etc/sysconfig/sound r,
/dev/tty rw,
include if exists <local/start-pulseaudio-x11>
}