update apparmor profiles

This commit is contained in:
Mikhail Morfikov 2020-10-25 10:23:34 +01:00
parent 2cd06e74d6
commit f73da4a046
No known key found for this signature in database
GPG key ID: 32D9CB634796CCA1
134 changed files with 496 additions and 339 deletions

View file

@ -28,16 +28,16 @@ profile fsck @{exec_path} {
@{PROC}/partitions r,
owner @{PROC}/@{pid}/mountinfo r,
owner /{,var/}run/fsck/ rw,
owner /{,var/}run/fsck/*.lock rwk,
owner @{run}/fsck/ rw,
owner @{run}/fsck/*.lock rwk,
# When a mount dir is passed to fsck as an argument.
/media/*/ r,
/boot/ r,
/home/ r,
owner /{,var/}run/blkid/blkid.tab{,-*} rw,
owner /{,var/}run/blkid/blkid.tab.old rwl -> /{,var/}run/blkid/blkid.tab,
owner @{run}/blkid/blkid.tab{,-*} rw,
owner @{run}/blkid/blkid.tab.old rwl -> @{run}/blkid/blkid.tab,
#include if exists <local/fsck>
}