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)
commit61c0ee8792165f0de7c4aa619343998a6966c1ef
treed42ef9b98bd91c212b0d05aa8111615fbedc22e4
parent40c0775e5ea47667db497565b79a8dc154530992
audit: drop audit_log_abend()

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