apparmor.d/apparmor.d/groups/network/nm-dhcp-helper
REmerald f1a0349978 feat(groups/{_,k,n,p}*): vim syntax support
Add vim modeline instructing the editor to use syntax plugin provided by apparmor.
Continuation of #394 to keep the diff list relatively short.
2024-06-16 17:31:28 +01:00

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