From 044c490f10d26018aa5ccc747464b30db004fefd Mon Sep 17 00:00:00 2001 From: beroal Date: Thu, 23 Jan 2025 00:26:31 +0200 Subject: [PATCH] `pacat`: a CLI utility for playing and recording audio from the PulseAudio suite (#653) --- apparmor.d/groups/freedesktop/pacat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 apparmor.d/groups/freedesktop/pacat diff --git a/apparmor.d/groups/freedesktop/pacat b/apparmor.d/groups/freedesktop/pacat new file mode 100644 index 00000000..8329b792 --- /dev/null +++ b/apparmor.d/groups/freedesktop/pacat @@ -0,0 +1,24 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2025 Roman Beslik +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = @{bin}/pacat +profile pacat @{exec_path} { + include + include + include + + @{exec_path} mr, + + /etc/machine-id r, + + owner @{user_music_dirs}/{,**} rw, + + include if exists +} + +# vim:syntax=apparmor