Skip to content

Commit

Permalink
[PATCH] EXPORT_SYMBOL patch for audit_log, audit_log_start, audit_log…
Browse files Browse the repository at this point in the history
…_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>
  • Loading branch information
lorenzo@gnu.org authored and Al Viro committed Mar 20, 2006
1 parent 5a0bbce commit bf45da9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit bf45da9

Please sign in to comment.