Skip to content

Commit 89670af

Browse files
RH-steve-grubbpcmoore
authored andcommitted
audit: Make AUDIT_ANOM_ABEND event normalized
The audit event specification asks for certain fields to exist in all events. Running 'ausearch -m anom_abend -sv yes' returns no events. This patch adds the result field so that the AUDIT_ANOM_ABEND event conforms to the rules. Signed-off-by: Steve Grubb <sgrubb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
1 parent 7c397d0 commit 89670af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/auditsc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,7 @@ void audit_core_dumps(long signr)
24112411
if (unlikely(!ab))
24122412
return;
24132413
audit_log_task(ab);
2414-
audit_log_format(ab, " sig=%ld", signr);
2414+
audit_log_format(ab, " sig=%ld res=1", signr);
24152415
audit_log_end(ab);
24162416
}
24172417

0 commit comments

Comments
 (0)