apparmor.d/apparmor.d/profiles-g-l/language-validate
REmerald 07f3ea979a
fix(profiles-g-l): 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

27 lines
629 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} = /usr/share/language-tools/language-{options,validate}
profile language-validate @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
capability setgid,
@{exec_path} mrix,
@{sh_path} rix,
@{bin}/grep rix,
@{bin}/locale rix,
/usr/share/locale-langpack/{,*} r,
/usr/share/language-tools/{,*} r,
include if exists <local/language-validate>
}
# vim:syntax=apparmor