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(a)gnu.org>>
---
kernel/audit.c | 5 +++++
1 file changed, 5 insertions(+)
diff -puN kernel/audit.c~audit-export-interfaces kernel/audit.c
--- linux-2.6.15.6/kernel/audit.c~audit-export-interfaces 2006-03-07 02:12:26.000000000
+0100
+++ linux-2.6.15.6-lorenzo/kernel/audit.c 2006-03-07 02:18:32.000000000 +0100
@@ -895,3 +895,8 @@ void audit_log(struct audit_context *ctx
audit_log_end(ab);
}
}
+
+EXPORT_SYMBOL(audit_log_start);
+EXPORT_SYMBOL(audit_log_end);
+EXPORT_SYMBOL(audit_log_format);
+EXPORT_SYMBOL(audit_log);
_
Show replies by date