apparmor.d/apparmor.d/profiles-a-f/at
REmerald 293217aee2
fix(profiles-a-f): move vim modeline
Move vim syntax comment to the end of the file, separated by newline, as requested in #380.
2024-06-15 21:59:31 +01:00

34 lines
679 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/at @{bin}/atq @{bin}/atrm @{bin}/batch
profile at @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
capability fsetid,
signal (send) set=(hup) peer=atd,
@{exec_path} mr,
/etc/at.deny r,
/etc/at.allow r,
/var/spool/cron/atjobs/{,*} rwk,
/var/spool/cron/atspool/{,*} rwk,
@{run}/atd.pid r,
@{PROC}/@{pid}/loginuid r,
include if exists <local/at>
}
# vim:syntax=apparmor