aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorlorenzo@gnu.org <lorenzo@gnu.org>2006-03-08 18:33:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-03-20 14:08:55 -0500
commitbf45da97a45f634422559ec61429dddf4d2fffb9 (patch)
tree6900ee56333ec64b1398cdfea2af9d04a01e182d /kernel/audit.c
parent5a0bbce58bb25bd756f7ec437319d6ed2201a18b (diff)
[PATCH] EXPORT_SYMBOL patch for audit_log, audit_log_start, audit_log_end and audit_format
Hi, This is a trivial patch that enables the possibility of using some auditing functions within loadable kernel modules (ie. inside a Linux Security Module). _ Make the audit_log_start, audit_log_end, audit_format and audit_log interfaces available to Loadable Kernel Modules, thus making possible the usage of the audit framework inside LSMs, etc. Signed-off-by: <Lorenzo Hernández García-Hierro <lorenzo@gnu.org>> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 6a44e0a7707d..c9345d3e8ada 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -994,3 +994,8 @@ void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type,
994 audit_log_end(ab); 994 audit_log_end(ab);
995 } 995 }
996} 996}
997
998EXPORT_SYMBOL(audit_log_start);
999EXPORT_SYMBOL(audit_log_end);
1000EXPORT_SYMBOL(audit_log_format);
1001EXPORT_SYMBOL(audit_log);