diff --git a/apparmor.d/groups/freedesktop/xdg-desktop-portal-gtk b/apparmor.d/groups/freedesktop/xdg-desktop-portal-gtk index fd660d09..173a6fe6 100644 --- a/apparmor.d/groups/freedesktop/xdg-desktop-portal-gtk +++ b/apparmor.d/groups/freedesktop/xdg-desktop-portal-gtk @@ -55,7 +55,7 @@ profile xdg-desktop-portal-gtk @{exec_path} { owner @{run}/user/@{uid}/wayland-[0-9]* rw, @{run}/mount/utab r, - owner @{PROC}/@{uid}/mountinfo r, + owner @{PROC}/@{pid}/mountinfo r, include if exists } \ No newline at end of file diff --git a/apparmor.d/groups/network/mullvad-gui b/apparmor.d/groups/network/mullvad-gui index a602dbfe..d63512be 100644 --- a/apparmor.d/groups/network/mullvad-gui +++ b/apparmor.d/groups/network/mullvad-gui @@ -57,17 +57,17 @@ profile mullvad-gui @{exec_path} { @{PROC}/ r, @{PROC}/sys/fs/inotify/max_user_watches r, @{PROC}/sys/kernel/yama/ptrace_scope r, - owner @{PROC}/@{uid}/cmdline r, - owner @{PROC}/@{uid}/fd/ r, - owner @{PROC}/@{uid}/cgroup r, - owner @{PROC}/@{uid}/gid_map w, - owner @{PROC}/@{uid}/oom_score_adj w, - owner @{PROC}/@{uid}/setgroups w, - owner @{PROC}/@{uid}/stat r, - owner @{PROC}/@{uid}/statm r, - owner @{PROC}/@{uid}/task/ r, - owner @{PROC}/@{uid}/task/@{tid}/status r, - owner @{PROC}/@{uid}/uid_map w, + owner @{PROC}/@{pid}/cmdline r, + owner @{PROC}/@{pid}/fd/ r, + owner @{PROC}/@{pid}/cgroup r, + owner @{PROC}/@{pid}/gid_map w, + owner @{PROC}/@{pid}/oom_score_adj w, + owner @{PROC}/@{pid}/setgroups w, + owner @{PROC}/@{pid}/stat r, + owner @{PROC}/@{pid}/statm r, + owner @{PROC}/@{pid}/task/ r, + owner @{PROC}/@{pid}/task/@{tid}/status r, + owner @{PROC}/@{pid}/uid_map w, /dev/tty rw, diff --git a/apparmor.d/profiles-a-f/flatpak-system-helper b/apparmor.d/profiles-a-f/flatpak-system-helper index 11a35cab..0d507ecc 100644 --- a/apparmor.d/profiles-a-f/flatpak-system-helper +++ b/apparmor.d/profiles-a-f/flatpak-system-helper @@ -39,7 +39,7 @@ profile flatpak-system-helper @{exec_path} { owner /tmp/ostree-gpg-*/ rw, owner /tmp/ostree-gpg-*/** rwkl -> /tmp/ostree-gpg-*/**, - owner @{PROC}/@{uid}/fd/ r, + owner @{PROC}/@{pid}/fd/ r, profile gpg { include @@ -54,7 +54,7 @@ profile flatpak-system-helper @{exec_path} { owner /tmp/ostree-gpg-*/ r, owner /tmp/ostree-gpg-*/** rwkl -> /tmp/ostree-gpg-*/**, - owner @{PROC}/@{uid}/fd/ r, + owner @{PROC}/@{pid}/fd/ r, } diff --git a/apparmor.d/profiles-m-r/mkinitramfs b/apparmor.d/profiles-m-r/mkinitramfs index afbc6b00..35c7caba 100644 --- a/apparmor.d/profiles-m-r/mkinitramfs +++ b/apparmor.d/profiles-m-r/mkinitramfs @@ -87,7 +87,7 @@ profile mkinitramfs @{exec_path} { /var/tmp/mkinitramfs_*/usr/lib/modules/*/modules.{order,builtin} rw, owner /var/tmp/mkinitramfs-* rw, - owner @{PROC}/@{uid}/fd/ r, + owner @{PROC}/@{pid}/fd/ r, @{PROC}/cmdline r, @{PROC}/modules r,