diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 00:48:12 -0500 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-01-18 00:48:29 -0500 |
commit | ae9d67aff60af59548b6c7d1a74febea09660122 (patch) | |
tree | ad296a5cc6791014715384f3587ea60013a424bf /kernel | |
parent | f1e231a356f90a67f8547c2881a62c92084683c6 (diff) |
audit: export symbol for use with xt_AUDIT
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 77770a034d59..5842f65bedcb 100644 --- a/kernel/audit.c +++ b/kernel/audit.c | |||
@@ -74,6 +74,8 @@ static int audit_initialized; | |||
74 | int audit_enabled; | 74 | int audit_enabled; |
75 | int audit_ever_enabled; | 75 | int audit_ever_enabled; |
76 | 76 | ||
77 | EXPORT_SYMBOL_GPL(audit_enabled); | ||
78 | |||
77 | /* Default state when kernel boots without any parameters. */ | 79 | /* Default state when kernel boots without any parameters. */ |
78 | static int audit_default; | 80 | static int audit_default; |
79 | 81 | ||