# 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/4.0>,

include <tunables/global>

@{exec_path} = @{lib}/{,NetworkManager/}nm-daemon-helper
@{att} = ""
profile nm-daemon-helper /{,usr/}lib{,exec,32,64}/{,NetworkManager/}nm-daemon-helper flags=(complain) {
  include <abstractions/base-strict>
  include <abstractions/nameservice-strict>

  network inet dgram,
  network inet6 dgram,

  @{exec_path} mr,

  include if exists <local/nm-daemon-helper>
}

# vim:syntax=apparmor
