update apparmor profiles
Signed-off-by: Alexandre Pujol <alexandre@pujol.io>
This commit is contained in:
parent
44aca3ba51
commit
3430e3df90
56 changed files with 146 additions and 45 deletions
|
|
@ -11,6 +11,8 @@ profile tune2fs @{exec_path} {
|
|||
include <abstractions/base>
|
||||
include <abstractions/disks-write>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/user-download-strict>
|
||||
include <abstractions/private-files-strict>
|
||||
|
||||
network inet stream,
|
||||
network inet6 stream,
|
||||
|
|
@ -26,8 +28,10 @@ profile tune2fs @{exec_path} {
|
|||
owner @{run}/blkid/blkid.tab.old rwl -> @{run}/blkid/blkid.tab,
|
||||
|
||||
# Image files
|
||||
@{HOME}/** rw,
|
||||
@{MOUNTS}/*/** rw,
|
||||
@{HOME}/**.{iso,img,bin,mdf,nrg} rw,
|
||||
@{MOUNTS}/*/**.{iso,img,bin,mdf,nrg} rw,
|
||||
@{HOME}/**.{ISO,IMG,BIN,MDF,NRG} rw,
|
||||
@{MOUNTS}/*/**.{ISO,IMG,BIN,MDF,NRG} rw,
|
||||
|
||||
include if exists <local/tune2fs>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue