apparmor.d/apparmor.d/profiles-s-z/zsys-system-autosnapshot
REmerald da3717991e feat(profiles-s-z): vim syntax support
Add vim modeline instructing the editor to use the syntax plugin provided by apparmor.

Continuation of #379, #380, #381, #390 to keep the diff list relatively short.
2024-06-15 22:04:20 +01:00

32 lines
805 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022 Jeroen Rijken
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/zsys-system-autosnapshot
profile zsys-system-autosnapshot @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
@{sh_path} rix,
@{bin}/cat rix,
@{bin}/cp rix,
@{bin}/rm rix,
@{bin}/zsysctl rPx,
@{bin}/zsysd rPx,
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log rw,
@{run}/zsys-bootmenu.unattended-upgrades rw,
@{run}/zsys-snapshot.unattended-upgrades rw,
@{run}/unattended-upgrades.pid r,
include if exists <local/zsys-system-autosnapshot>
}
# vim:syntax=apparmor