diff --git a/apparmor.d/abstractions/audio-client b/apparmor.d/abstractions/audio-client index b071df1af..166229a09 100644 --- a/apparmor.d/abstractions/audio-client +++ b/apparmor.d/abstractions/audio-client @@ -61,8 +61,7 @@ /dev/shm/ r, owner /dev/shm/pulse-shm-@{int} rw, - /dev/snd/controlC0 r, - /dev/snd/controlC1 r, + /dev/snd/controlC@{int} r, include if exists diff --git a/apparmor.d/profiles-g-l/git b/apparmor.d/profiles-g-l/git index fc05b8c1d..71bace3c3 100644 --- a/apparmor.d/profiles-g-l/git +++ b/apparmor.d/profiles-g-l/git @@ -18,8 +18,6 @@ profile git @{exec_path} flags=(attach_disconnected) { include include - capability dac_read_search, - network inet dgram, network inet6 dgram, network inet stream, diff --git a/apparmor.d/profiles-g-l/libreoffice b/apparmor.d/profiles-g-l/libreoffice index 3978ac1a8..2198ad925 100644 --- a/apparmor.d/profiles-g-l/libreoffice +++ b/apparmor.d/profiles-g-l/libreoffice @@ -71,7 +71,6 @@ profile libreoffice @{exec_path} { /etc/libreoffice/{,**} r, /etc/paperspecs r, /etc/xdg/* r, - /etc/machine-id r, owner @{user_cache_dirs}/libreoffice/{,**} rw, owner @{user_config_dirs}/libreoffice/ rw, diff --git a/apparmor.d/profiles-m-r/pinentry-gtk b/apparmor.d/profiles-m-r/pinentry-gtk index f7c05f3a9..89b7705ed 100644 --- a/apparmor.d/profiles-m-r/pinentry-gtk +++ b/apparmor.d/profiles-m-r/pinentry-gtk @@ -17,7 +17,7 @@ profile pinentry-gtk @{exec_path} { @{exec_path} mr, - /usr/share/** r, + /usr/share/gtk-@{int}.@{int}/{,**} r, owner @{run}/user/@{uid}/.mutter-Xwaylandauth.@{rand6} r,