mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
fix(profile): ensure pacman keyring update works.
This commit is contained in:
parent
7cf7adc197
commit
e8651dc367
@ -167,9 +167,17 @@ profile pacman @{exec_path} {
|
||||
|
||||
profile gpg {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
include <abstractions/ssl_certs>
|
||||
|
||||
capability dac_read_search,
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
network inet dgram,
|
||||
network inet6 dgram,
|
||||
|
||||
@{bin}/gpg{,2} mr,
|
||||
@{bin}/gpgconf mr,
|
||||
@{bin}/gpgsm mr,
|
||||
@ -183,13 +191,13 @@ profile pacman @{exec_path} {
|
||||
|
||||
@{HOME}/@{XDG_GPG_DIR}/*.conf r,
|
||||
|
||||
deny @{user_share_dirs}/sddm/* rw,
|
||||
|
||||
@{PROC}/@{pid}/fd/ r,
|
||||
@{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
||||
/dev/tty@{int} rw,
|
||||
owner /dev/pts/@{int} rw,
|
||||
|
||||
deny network inet stream,
|
||||
deny network inet6 stream,
|
||||
deny @{user_share_dirs}/sddm/* rw,
|
||||
|
||||
include if exists <local/pacman_gpg>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user