提交 ae9d67af 编写于 作者: J Jan Engelhardt

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: NJan Engelhardt <jengelh@medozas.de>
上级 f1e231a3
...@@ -74,6 +74,8 @@ static int audit_initialized; ...@@ -74,6 +74,8 @@ static int audit_initialized;
int audit_enabled; int audit_enabled;
int audit_ever_enabled; int audit_ever_enabled;
EXPORT_SYMBOL_GPL(audit_enabled);
/* Default state when kernel boots without any parameters. */ /* Default state when kernel boots without any parameters. */
static int audit_default; static int audit_default;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册