feta(profile): remove the now duplicated @{bin}/perl r.

This commit is contained in:
Alexandre Pujol 2025-03-18 23:10:38 +01:00
parent f6a9a1859a
commit bd9ab55bf0
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
35 changed files with 7 additions and 45 deletions

View file

@ -12,6 +12,7 @@ profile pacman @{exec_path} flags=(attach_disconnected) {
include <abstractions/consoles>
include <abstractions/disks-read>
include <abstractions/nameservice-strict>
include <abstractions/perl>
include <abstractions/ssl_certs>
capability audit_write,
@ -83,7 +84,6 @@ profile pacman @{exec_path} flags=(attach_disconnected) {
@{bin}/needrestart rPx,
@{bin}/pacdiff rPx,
@{bin}/pacman-key rPx,
@{bin}/perl rix,
@{bin}/pkgfile rPUx,
@{bin}/pkill rix,
@{bin}/rsync rix,

View file

@ -9,20 +9,18 @@ include <tunables/global>
@{exec_path} = /usr/share/libalpm/scripts/detect-old-perl-modules.sh
profile pacman-hook-perl @{exec_path} {
include <abstractions/base>
include <abstractions/perl>
capability dac_read_search,
capability mknod,
@{exec_path} mr,
@{bin}/perl rix,
@{bin}/bash rix,
@{sh_path} rix,
@{bin}/find rix,
@{bin}/pacman rPx,
@{bin}/sed rix,
@{lib}/perl@{int}/{,**} r,
/dev/tty rw,
/dev/tty@{int} rw,
owner /dev/pts/@{int} rw,