[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220503090212.1322050-2-svens@linux.ibm.com>
Date: Tue, 3 May 2022 11:02:12 +0200
From: Sven Schnelle <svens@...ux.ibm.com>
To: Paul Moore <paul@...l-moore.com>, Eric Paris <eparis@...hat.com>
Cc: linux-audit@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] audit: add filterkey to special audit messages
For automated filtering/testing it is useful to have the
filter key logged in the message.
Signed-off-by: Sven Schnelle <svens@...ux.ibm.com>
---
kernel/auditsc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index c856893041c9..2e349660a56f 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1508,6 +1508,7 @@ static void show_special(struct audit_context *context, int *call_panic)
audit_log_time(context, &ab);
break;
}
+ audit_log_key(ab, context->filterkey);
audit_log_end(ab);
}
--
2.32.0
Powered by blists - more mailing lists