From 9828ae566f55bb46403a22a5d80d1a0d55c99522 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 8 Jul 2021 18:16:22 +0100 Subject: [PATCH] media-keys: add audio abstracion. --- apparmor.d/groups/gnome/gsd-media-keys | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/apparmor.d/groups/gnome/gsd-media-keys b/apparmor.d/groups/gnome/gsd-media-keys index 937ab83a..534de58c 100644 --- a/apparmor.d/groups/gnome/gsd-media-keys +++ b/apparmor.d/groups/gnome/gsd-media-keys @@ -9,9 +9,10 @@ include @{exec_path} = /{usr/,}lib/gsd-media-keys profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { include - include + include include include + include signal (receive) set=(term, hup) peer=gdm*, @@ -28,19 +29,13 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) { /usr/share/icons/{,**} r, /usr/share/X11/xkb/** r, - owner @{user_config_dirs}/pulse/client.conf r, - owner @{user_config_dirs}/pulse/cookie rk, - owner @{user_cache_dirs}/event-sound-cache.tdb.* rwk, owner @{user_share_dirs}/event-sound-cache.tdb.* rwk, /var/lib/gdm/.config/pulse/client.conf r, owner @{run}/user/@{uid}/gdm/Xauthority r, - owner @{run}/user/@{uid}/pulse/ r, @{run}/systemd/inhibit/[0-9]*.ref rw, - /dev/shm/ r, - include owner @{run}/user/@{uid}/dconf/ rw, owner @{run}/user/@{uid}/dconf/user rw,