44 lines
1 KiB
Text
44 lines
1 KiB
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
abi <abi/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{bin}/archlinux-keyring-wkd-sync
|
|
profile archlinux-keyring-wkd-sync @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
include <abstractions/p11-kit>
|
|
include <abstractions/ssl_certs>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
network inet stream,
|
|
network inet6 stream,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
@{bin}/{m,g,}awk rix,
|
|
@{bin}/dirmngr rix,
|
|
@{bin}/gpg-agent rix,
|
|
@{bin}/gpg{,2} rix,
|
|
@{bin}/pacman-conf rix,
|
|
|
|
/etc/pacman.conf r,
|
|
/etc/pacman.d/*-mirrorlist r,
|
|
/etc/pacman.d/gnupg/ rw,
|
|
/etc/pacman.d/gnupg/** rwlk -> /etc/pacman.d/gnupg/**,
|
|
/etc/pacman.d/mirrorlist r,
|
|
|
|
owner @{PROC}/@{pid}/fd/ r,
|
|
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
|
|
|
/dev/tty rw,
|
|
|
|
include if exists <local/archlinux-keyring-wkd-sync>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|