projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e231a
)
audit: export symbol for use with xt_AUDIT
author
Jan Engelhardt
<jengelh@medozas.de>
Tue, 18 Jan 2011 05:48:12 +0000
(06:48 +0100)
committer
Jan Engelhardt
<jengelh@medozas.de>
Tue, 18 Jan 2011 05:48:29 +0000
(06:48 +0100)
When xt_AUDIT is built as a module, modpost reports a problem.
MODPOST 322 modules
ERROR: "audit_enabled" [net/netfilter/x_tables.ko] undefined!
WARNING: modpost: Found 1 section mismatch(es).
Cc: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
kernel/audit.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/audit.c
b/kernel/audit.c
index 77770a034d59c57e3926536b2a64c7afca500198..5842f65bedcb7df5d4f5303b510d115f2be0fdf7 100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-74,6
+74,8
@@
static int audit_initialized;
int audit_enabled;
int audit_ever_enabled;
+EXPORT_SYMBOL_GPL(audit_enabled);
+
/* Default state when kernel boots without any parameters. */
static int audit_default;