mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 02:35:06 +01:00
feat(profiles): add anacron.
This commit is contained in:
parent
24cf14ff3a
commit
aa9a673fb6
1 changed files with 24 additions and 0 deletions
24
apparmor.d/profiles-a-f/anacron
Normal file
24
apparmor.d/profiles-a-f/anacron
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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} = /{usr/,}{s,}bin/anacron
|
||||||
|
profile anacron @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
/{usr/,}bin/{,ba,da}sh rix,
|
||||||
|
/{usr/,}bin/run-parts rPx,
|
||||||
|
|
||||||
|
/ r,
|
||||||
|
/etc/anacrontab r,
|
||||||
|
|
||||||
|
/var/spool/anacron/cron.* rw,
|
||||||
|
|
||||||
|
include if exists <local/anacron>
|
||||||
|
}
|
Loading…
Reference in a new issue