From bdf232feb753524dd7973adb79a1ed97f2495094 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:24:05 +0200 Subject: [PATCH] Update pacman-key --- apparmor.d/groups/pacman/pacman-key | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apparmor.d/groups/pacman/pacman-key b/apparmor.d/groups/pacman/pacman-key index 93e542b79..63e3bcbe3 100644 --- a/apparmor.d/groups/pacman/pacman-key +++ b/apparmor.d/groups/pacman/pacman-key @@ -45,6 +45,10 @@ profile pacman-key @{exec_path} { capability dac_read_search, capability mknod, + network inet stream, + network inet6 stream, + network unix stream, + @{bin}/gpg{,2} mr, @{bin}/dirmngr rix, @{bin}/gpg-agent rix, @@ -60,6 +64,9 @@ profile pacman-key @{exec_path} { owner @{PROC}/@{pid}/task/@{tid}/comm rw, owner @{PROC}/@{pid}/task/@{tid}/stat rw, + /dev/pts/@{int} rw, + /dev/tty@{int} rw, + } include if exists