update apparmor profiles

Adpated to the apparmor.d structure.

Signed-off-by: Mikhail Morfikov <mmorfikov@gmail.com>
This commit is contained in:
Mikhail Morfikov 2021-04-10 08:11:07 +02:00 committed by Alexandre Pujol
parent c1e2b1d15e
commit 0573b2d996
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
29 changed files with 534 additions and 23 deletions

View file

@ -23,6 +23,8 @@ profile crontab @{exec_path} {
/{usr/,}bin/sensible-editor rCx -> editor,
/{usr/,}bin/vim.* rCx -> editor,
/etc/cron.{allow,deny} r,
/var/spool/cron/ r,
/var/spool/cron/crontabs/ rw,
owner /var/spool/cron/crontabs/* rw,
@ -53,6 +55,9 @@ profile crontab @{exec_path} {
/tmp/ r,
owner /tmp/crontab.*/crontab rw,
# file_inherit
/etc/cron.{allow,deny} r,
}
include if exists <local/crontab>