audit: export audit_log_task_info
authorPeter Moody <pmoody@google.com>
Thu, 14 Jun 2012 17:04:35 +0000 (10:04 -0700)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Wed, 12 Sep 2012 11:28:05 +0000 (07:28 -0400)
commite23eb920b0f3978687c497de2ac3eb9e281dab32
treec4b2a7765b330a901d0f9c6ff30b14855ddab088
parenta40695edad6a69561b299272028c172e2d981666
audit: export audit_log_task_info

At the suggestion of eparis@redhat.com, move this chunk of task
logging from audit_log_exit to audit_log_task_info and export this
function so it's usuable elsewhere in the kernel.

This patch is against
git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity#next-ima-appraisal

Changelog v2:
 - add empty audit_log_task_info if CONFIG_AUDITSYSCALL isn't set.

Changelog v1:
 - Initial post.

Signed-off-by: Peter Moody <pmoody@google.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
include/linux/audit.h
kernel/auditsc.c