mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
audit: tie ANOM_ABEND records to syscall
Since core dump events are triggered by user activity, tie the ANOM_ABEND record to the syscall record to collect all records from the same event. See: https://github.com/linux-audit/audit-kernel/issues/88 Signed-off-by: Richard Guy Briggs <[email protected]> Signed-off-by: Paul Moore <[email protected]>
This commit is contained in:
parent
9b8753fffe
commit
d87de4a878
1 changed files with 1 additions and 1 deletions
|
|
@ -2461,7 +2461,7 @@ void audit_core_dumps(long signr)
|
|||
if (signr == SIGQUIT) /* don't care for those */
|
||||
return;
|
||||
|
||||
ab = audit_log_start(NULL, GFP_KERNEL, AUDIT_ANOM_ABEND);
|
||||
ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_ANOM_ABEND);
|
||||
if (unlikely(!ab))
|
||||
return;
|
||||
audit_log_task(ab);
|
||||
|
|
|
|||
Loading…
Reference in a new issue