24 lines
479 B
Text
24 lines
479 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/4.0>,
|
|
|
|
include <tunables/global>
|
|
|
|
@{exec_path} = @{sbin}/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
|