Add vim modeline instructing the editor to use syntax plugin provided by apparmor. Continuation of #394 to keep the diff list relatively short.
31 lines
671 B
Text
31 lines
671 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}/{,NetworkManager/}nm-dhcp-helper
|
|
profile nm-dhcp-helper @{exec_path} {
|
|
include <abstractions/base>
|
|
include <abstractions/dbus>
|
|
|
|
network inet dgram,
|
|
network inet6 dgram,
|
|
|
|
ptrace (readby) peer=NetworkManager,
|
|
|
|
signal (receive) peer=NetworkManager,
|
|
signal (send) peer=dhclient,
|
|
|
|
@{exec_path} mr,
|
|
|
|
/var/lib/NetworkManager/*lease r,
|
|
|
|
@{run}/NetworkManager/private-dhcp rw,
|
|
|
|
include if exists <local/nm-dhcp-helper>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|