apparmor.d/apparmor.d/groups/systemd/systemd-generator-user-environment
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

34 lines
831 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{lib}/systemd/user-environment-generators/*
profile systemd-generator-user-environment @{exec_path} {
include <abstractions/base>
include <abstractions/common/systemd>
include <abstractions/nameservice-strict>
@{exec_path} mr,
@{sh_path} rix,
@{bin}/flatpak rPUx,
@{bin}/gpgconf rPx,
@{bin}/{m,g,}awk rix,
@{etc_ro}/environment r,
@{etc_ro}/environment.d/{,**} r,
/snap/snapd/@{int}/usr/lib/environment.d/{,*.conf} r,
owner @{user_config_dirs}/environment.d/{,*.conf} r,
/dev/tty rw,
include if exists <local/systemd-generator-user-environment>
}
# vim:syntax=apparmor