feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-03-05 16:58:16 +00:00
parent faa40c8cde
commit c66d3bf9f4
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
32 changed files with 149 additions and 115 deletions

View file

@ -28,6 +28,7 @@ profile pacman-hook-mkinitcpio @{exec_path} flags=(attach_disconnected) {
@{bin}/sed rix,
@{bin}/sort rix,
@{bin}/stat rix,
@{bin}/pacman rCx -> pacman,
/usr/share/mkinitcpio/*.preset r,
@ -47,5 +48,26 @@ profile pacman-hook-mkinitcpio @{exec_path} flags=(attach_disconnected) {
deny network inet6 stream,
deny network inet stream,
profile pacman {
include <abstractions/base>
include <abstractions/openssl>
capability dac_read_search,
@{bin}/pacman mr,
@{bin}/gpg rix,
@{bin}/gpgconf rix,
@{bin}/gpgsm rix,
/etc/pacman.conf r,
/etc/pacman.d/{,**} r,
/etc/pacman.d/gnupg/** rwkl,
/var/lib/pacman/local/{,**} r,
include if exists <local/pacman-hook-mkinitcpio_pacman>
}
include if exists <local/pacman-hook-mkinitcpio>
}