#------------------------------------------------------------------
#    Copyright (C) 2024 Canonical Ltd.
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#------------------------------------------------------------------
# vim: ft=apparmor

abi <abi/4.0>,

include <tunables/global>

profile nc.openbsd /usr/bin/nc.openbsd {
  include <abstractions/base>
  include <abstractions/nameservice>

  file rw /**,

  # we need to enable all networking in order to allow DCCP (this also allows unix sockets)
  network,

  /usr/bin/nc.openbsd mr,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/nc.openbsd>
}
