diff --git a/apparmor.d/profiles-m-r/pulseaudio b/apparmor.d/profiles-m-r/pulseaudio index 578b9c3d..7f28d354 100644 --- a/apparmor.d/profiles-m-r/pulseaudio +++ b/apparmor.d/profiles-m-r/pulseaudio @@ -69,7 +69,8 @@ profile pulseaudio @{exec_path} { @{sys}/devices/virtual/dmi/id/{bios_vendor,board_vendor,sys_vendor} r, @{sys}/devices/system/node/ r, @{sys}/devices/system/node/node[0-9]/meminfo r, - @{sys}/module/apparmor/parameters/enabled r, + + deny @{sys}/module/apparmor/parameters/enabled r, @{run}/systemd/users/@{uid} r, @@ -78,8 +79,8 @@ profile pulseaudio @{exec_path} { owner @{run}/user/@{uid}/ICEauthority r, owner @{run}/user/@{uid}/systemd/notify rw, - owner @{PROC}/@{pid}/fd/ r, - owner @{PROC}/@{pid}/stat r, + owner @{PROC}/@{pids}/fd/ r, + owner @{PROC}/@{pids}/stat r, # DBus dbus (send)