]> git.baikalelectronics.ru Git - kernel.git/commit
audit: Added exe field to audit core dump signal log
authorPaul Davies C <pauldaviesc@gmail.com>
Thu, 21 Nov 2013 02:44:03 +0000 (08:14 +0530)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:31:38 +0000 (22:31 -0500)
commit8c30007091de80d7b25dbd79270c8d3eb4978a1f
treee60ba924338f34a394e1986a2173a8f38eee5235
parent7d53d4438b389c340642f4931e81191d934c6001
audit: Added exe field to audit core dump signal log

Currently when the coredump signals are logged by the audit system, the
actual path to the executable is not logged. Without details of exe, the
system admin may not have an exact idea on what program failed.

This patch changes the audit_log_task() so that the path to the exe is also
logged.

This was copied from audit_log_task_info() and the latter enhanced to avoid
disappearing text fields.

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