apparmor.d/apparmor.d/groups/cron/cron-apport
Alexandre Pujol 66455a9251
feat(profile): improve support for some profiles.
Most of the rules have come from the integration tests.
2024-11-12 22:18:11 +00:00

26 lines
556 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/4.0>,
include <tunables/global>
@{exec_path} = /etc/cron.{hourly,daily,weekly,monthly}/apport
profile cron-apport @{exec_path} {
include <abstractions/base>
@{exec_path} r,
@{sh_path} rix,
@{bin}/find rix,
@{bin}/rm rix,
/ r,
/var/crash/ r,
/var/crash/* w,
include if exists <local/cron-apport>
}
# vim:syntax=apparmor