mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
7c397d01e4
commit
89670affa2
@ -2411,7 +2411,7 @@ void audit_core_dumps(long signr)
|
||||
if (unlikely(!ab))
|
||||
return;
|
||||
audit_log_task(ab);
|
||||
audit_log_format(ab, " sig=%ld", signr);
|
||||
audit_log_format(ab, " sig=%ld res=1", signr);
|
||||
audit_log_end(ab);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user