From 2d72795f6585ad67bc85e01e1dfc8c1bc2eac56a Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 31 Jan 2019 09:27:10 +0000 Subject: [PATCH 1/2] audio abstraction: grant read access to the system-wide asound.conf. Bug-Debian: https://bugs.debian.org/920669 Relevant documentation: http://www.alsa-project.org/main/index.php/Asoundrc We already grant read access to the corresponding per-user configuration file (~/.asoundrc) so it makes sense to also grant access to the system-wide one. --- profiles/apparmor.d/abstractions/audio | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/apparmor.d/abstractions/audio b/profiles/apparmor.d/abstractions/audio index 139ce1b2e..27ad5d531 100644 --- a/profiles/apparmor.d/abstractions/audio +++ b/profiles/apparmor.d/abstractions/audio @@ -41,6 +41,7 @@ /usr/share/sounds/** r, owner @{HOME}/.esd_auth r, +/etc/asound.conf r, owner @{HOME}/.asoundrc r, /etc/esound/esd.conf r, From 16c47133636f234e368058a2f8019cd314287017 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 31 Jan 2019 09:29:24 +0000 Subject: [PATCH 2/2] audio abstraction: grant read access to the libao configuration files. Bug-Debian: https://bugs.debian.org/920670 Relevant documentation: https://xiph.org/ao/doc/config.html --- profiles/apparmor.d/abstractions/audio | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiles/apparmor.d/abstractions/audio b/profiles/apparmor.d/abstractions/audio index 27ad5d531..d7275c7b5 100644 --- a/profiles/apparmor.d/abstractions/audio +++ b/profiles/apparmor.d/abstractions/audio @@ -45,6 +45,10 @@ owner @{HOME}/.esd_auth r, owner @{HOME}/.asoundrc r, /etc/esound/esd.conf r, +# libao +/etc/libao.conf r, +owner @{HOME}/.libao r, + # libcanberra owner @{HOME}/.cache/event-sound-cache.* rwk,