]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9139994e67175e36559600a1442fa13d4b827b90
treec4b2a7765b330a901d0f9c6ff30b14855ddab088
parent4da742c12d0e36f3f120ddb3921a004bda0aaac3
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