mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
293217aee2
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
48 lines
893 B
Text
48 lines
893 B
Text
# apparmor.d - Full set of apparmor profiles
|
|
# Copyright (C) 2022-2024 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>
|
|
|
|
signal (receive) set=(usr1) peer=@{p_systemd},
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sh_path} rix,
|
|
@{bin}/run-parts rCx -> run-parts,
|
|
@{bin}/exim4 rPx,
|
|
|
|
/ r,
|
|
/etc/anacrontab r,
|
|
|
|
/var/spool/anacron/cron.* rwk,
|
|
|
|
@{HOME}/ r,
|
|
|
|
/tmp/file* rw,
|
|
|
|
profile run-parts {
|
|
include <abstractions/base>
|
|
|
|
@{bin}/run-parts mr,
|
|
|
|
/etc/cron.*/ r,
|
|
/etc/cron.*/* rPUx,
|
|
|
|
owner @{tmp}/#@{int} rw,
|
|
owner @{tmp}/file@{rand6} rw,
|
|
|
|
include if exists <local/anacron_run_parts>
|
|
}
|
|
|
|
include if exists <local/anacron>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|