From 04cae35e6e75a51b1d89e150c53acde65b3ccf44 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Fri, 20 Oct 2023 23:50:56 +0200 Subject: [PATCH] Update pacman-key (#230) --- 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