feat: update profiles.

This commit is contained in:
Alexandre Pujol 2022-04-07 20:53:35 +01:00
parent c8cda79b78
commit 10cdde9fb7
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
28 changed files with 90 additions and 43 deletions

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2019-2022 Mikhail Morfikov
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -21,6 +22,8 @@ profile cron @{exec_path} {
network netlink raw,
ptrace (read) peer=unconfined,
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
@ -37,6 +40,7 @@ profile cron @{exec_path} {
/{usr/,}sbin/e2scrub_all rPUx,
/etc/cron.daily/popularity-contest rPx,
/{usr/,}lib/sysstat/debian-sa1 rPUx,
/{usr/,}{s,}bin/sendmail rPUx,
# All stuff that is executed via the user crontab files
/{usr/,}bin/apt-file rPx,