diff --git a/apparmor.d/profiles-m-z/start-pulseaudio-x11 b/apparmor.d/profiles-m-z/start-pulseaudio-x11 new file mode 100644 index 00000000..6b1719a0 --- /dev/null +++ b/apparmor.d/profiles-m-z/start-pulseaudio-x11 @@ -0,0 +1,20 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/start-pulseaudio-x11 +profile start-pulseaudio-x11 @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/{,ba,da}sh rix, + + /dev/tty rw, + + include if exists +} \ No newline at end of file