# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/nm-priv-helper
profile nm-priv-helper @{exec_path} {
  include <abstractions/base>

  capability dac_override,

  #aa:dbus own bus=system name=org.freedesktop.nm_priv_helper

  @{exec_path} mr,

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

# vim:syntax=apparmor
