mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 06:45:10 +01:00
feat(profiles): restrict path access in pacman.
This commit is contained in:
parent
ece6524886
commit
e4e54a26ef
1 changed files with 7 additions and 7 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue