netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 2/5] audit: export symbol for use with xt_AUDIT
Date: Tue, 18 Jan 2011 16:16:56 +0100	[thread overview]
Message-ID: <1295363820-14881-3-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1295363820-14881-1-git-send-email-jengelh@medozas.de>

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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/audit.c b/kernel/audit.c
index 77770a0..5842f65 100644
--- 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;
 
-- 
1.7.1


  parent reply	other threads:[~2011-01-18 15:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 15:16 netfilter: audit fix, headers, Jan Engelhardt
2011-01-18 15:16 ` [PATCH 1/5] netfilter: xtables: add missing aliases for autoloading via iptables Jan Engelhardt
2011-01-18 15:16 ` Jan Engelhardt [this message]
2011-01-18 15:45   ` [PATCH 2/5] audit: export symbol for use with xt_AUDIT Eric Dumazet
2011-01-18 15:16 ` [PATCH 3/5] netfilter: xt_connlimit: use hotdrop jump mark Jan Engelhardt
2011-01-18 15:16 ` [PATCH 4/5] netfilter: xtables: use __uXX guarded types for userspace exports Jan Engelhardt
2011-01-20 15:16   ` Patrick McHardy
2011-01-18 15:16 ` [PATCH 5/5] netfilter: xtables: add missing header files to export list Jan Engelhardt
2011-01-18 15:21 ` netfilter: audit fix, headers, Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295363820-14881-3-git-send-email-jengelh@medozas.de \
    --to=jengelh@medozas.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).