From: Adrian Bunk <bunk@fs.tum.de>
To: sds@epoch.ncsc.mil, jmorris@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] SECURITY_SELINUX depends on NET
Date: Sat, 29 May 2004 15:08:57 +0200 [thread overview]
Message-ID: <20040529130857.GP16099@fs.tum.de> (raw)
SECURITY_SELINUX=y and NET=n results in the following compile error in
2.6.7-mm1:
<-- snip -->
...
LD .tmp_vmlinux1
security/built-in.o(.text+0x97e4): In function `selnl_notify':
: undefined reference to `alloc_skb'
security/built-in.o(.text+0x988a): In function `selnl_notify':
: undefined reference to `netlink_broadcast'
security/built-in.o(.text+0x989e): In function `selnl_notify':
: undefined reference to `skb_over_panic'
security/built-in.o(.text+0x98ca): In function `selnl_notify':
: undefined reference to `__kfree_skb'
security/built-in.o(.init.text+0x2eb): In function `selnl_init':
: undefined reference to `netlink_kernel_create'
security/built-in.o(.init.text+0x303): In function `selnl_init':
: undefined reference to `netlink_set_nonroot'
make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
The following patch fixes this issue:
--- linux-2.6.7-rc1-mm1-full/security/selinux/Kconfig.old 2004-05-29 14:14:37.000000000 +0200
+++ linux-2.6.7-rc1-mm1-full/security/selinux/Kconfig 2004-05-29 14:22:42.000000000 +0200
@@ -1,6 +1,6 @@
config SECURITY_SELINUX
bool "NSA SELinux Support"
- depends on SECURITY
+ depends on SECURITY && NET
default n
help
This selects NSA Security-Enhanced Linux (SELinux).
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
reply other threads:[~2004-05-29 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040529130857.GP16099@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=jmorris@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sds@epoch.ncsc.mil \
/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
all inboxes | Powered by JetHome®