feat(profiles): restrict path access in pacman.

This commit is contained in:
Alexandre Pujol 2022-10-06 20:50:41 +01:00
parent ece6524886
commit e4e54a26ef
Failed to generate hash of commit

View file

@ -104,13 +104,13 @@ profile pacman @{exec_path} {
# Install/update packages
/ r,
/*/ rwl,
/boot/{,**} rwl,
/etc/{,**} rwl,
/opt/{,**} rwl,
/srv/{,**} rwl,
/usr/{,**} rwlk,
/var/{,**} rwlk,
/*/ rw,
/boot/** rwl -> /boot/**,
/etc/** rwl -> /etc/**,
/opt/** rwl -> /opt/**,
/srv/** rwl -> /srv/**,
/usr/** rwlk -> /usr/**,
/var/** rwlk -> /var/**,
@{PROC}/ r,
@{run}/ r,