apparmor.d/apparmor.d/profiles-a-f/anacron

29 lines
No EOL
529 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/anacron
profile anacron @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{bin}/run-parts rPx,
/ r,
/etc/anacrontab r,
/var/spool/anacron/cron.* rwk,
@{HOME}/ r,
/tmp/file* rw,
include if exists <local/anacron>
}