apparmor.d/apparmor.d/groups/systemd/systemd-generator-gpt-auto
REmerald 4d707633a1 feat(groups/{c,d,f,s}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #392 to keep the diff list relatively short.
2024-06-16 17:30:44 +01:00

35 lines
837 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/systemd/system-generators/systemd-gpt-auto-generator
profile systemd-generator-gpt-auto @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/disks-read>
include <abstractions/common/systemd>
capability sys_admin,
@{exec_path} mr,
/ r,
/boot/ r,
/efi/ r,
/etc/fstab r,
/usr/ r,
@{run}/systemd/generator.late/**.{,auto}mount w,
@{run}/systemd/generator.late/local-fs.target.wants/ w,
@{sys}/firmware/efi/efivars/LoaderDevicePartUUID-@{uuid} r,
@{PROC}/@{pid}/cgroup r,
include if exists <local/systemd-generator-gpt-auto>
}
# vim:syntax=apparmor