apparmor.d/apparmor.d/profiles-m-r/ntfslabel
REmerald e362aa9107 feat(profiles-m-r): vim syntax support
Add vim modeline instructing the editor to use the syntax plugin provided by apparmor.
2024-06-09 19:44:15 +03:00

23 lines
509 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# vim:syntax=apparmor
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/ntfslabel
profile ntfslabel @{exec_path} {
include <abstractions/base>
include <abstractions/disks-write>
capability sys_admin,
@{exec_path} mr,
owner @{PROC}/@{pid}/mounts r,
include if exists <local/ntfslabel>
}