audit: drop audit_log_abend()
authorPaul Davies C <pauldaviesc@gmail.com>
Fri, 8 Nov 2013 04:27:39 +0000 (09:57 +0530)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:30:59 +0000 (22:30 -0500)
The audit_log_abend() is used only by the audit_core_dumps(). Thus there is no
need of maintaining the audit_log_abend() as a separate function.

This patch drops the audit_log_abend() and pushes its functionalities back to
the audit_core_dumps(). Apart from that the "reason" field is also dropped
from being logged since the reason can be deduced from the signal number.

Signed-off-by: Paul Davies C <pauldaviesc@gmail.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c

Simple merge