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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/auditctl
profile auditctl @{exec_path} flags=(attach_disconnected) {
  include <abstractions/base>

  capability audit_control,

  network netlink raw,

  @{exec_path} mr,

  /etc/audit/audit.rules r,

  include if exists <local/auditctl>
}

# vim:syntax=apparmor
