Commit bf45da97 authored by lorenzo@gnu.org's avatar lorenzo@gnu.org Committed by Al Viro

[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: default avatar&lt;Lorenzo Hernández García-Hierro <lorenzo@gnu.org&gt;>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5a0bbce5
......@@ -994,3 +994,8 @@ void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type,
audit_log_end(ab);
}
}
EXPORT_SYMBOL(audit_log_start);
EXPORT_SYMBOL(audit_log_end);
EXPORT_SYMBOL(audit_log_format);
EXPORT_SYMBOL(audit_log);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment