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.
24 lines
517 B
Text
24 lines
517 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>
|
|
|
|
@{lib_dirs} = @{lib}/ /snap/{snapd,core}/@{int}@{lib}
|
|
|
|
@{exec_path} = @{lib_dirs}/snapd/snapd-aa-prompt-ui
|
|
profile snapd-aa-prompt-ui @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
@{exec_path} mrix,
|
|
|
|
@{lib_dirs}/snapd/info r,
|
|
|
|
@{PROC}/cmdline r,
|
|
|
|
include if exists <local/snapd-aa-prompt-ui>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|