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 # Install/update packages
/ r, / r,
/*/ rwl, /*/ rw,
/boot/{,**} rwl, /boot/** rwl -> /boot/**,
/etc/{,**} rwl, /etc/** rwl -> /etc/**,
/opt/{,**} rwl, /opt/** rwl -> /opt/**,
/srv/{,**} rwl, /srv/** rwl -> /srv/**,
/usr/{,**} rwlk, /usr/** rwlk -> /usr/**,
/var/{,**} rwlk, /var/** rwlk -> /var/**,
@{PROC}/ r, @{PROC}/ r,
@{run}/ r, @{run}/ r,