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.
25 lines
527 B
Text
25 lines
527 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} = @{lib}/snapd/snap-device-helper
|
|
profile snap-device-helper @{exec_path} {
|
|
include <abstractions/base>
|
|
|
|
capability bpf,
|
|
capability dac_read_search,
|
|
capability setgid,
|
|
capability sys_resource,
|
|
|
|
@{exec_path} mr,
|
|
|
|
@{sys}/fs/bpf/snap/ w,
|
|
|
|
include if exists <local/snap-device-helper>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|