apparmor.d/apparmor.d/profiles-a-f/auditctl
2024-02-07 00:16:21 +01:00

22 lines
No EOL
454 B
Text

# 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/3.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>
}