From: Daniel Walker <dwalker@mvista.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Cc: Mimi Zohar <zohar@us.ibm.com>
Cc: Kylene Hall <kjhall@us.ibm.com>
Subject: [PATCH -rt] panic on SLIM + selinux
Date: Sat, 30 Dec 2006 07:48:04 -0800 [thread overview]
Message-ID: <20061230154804.862606000@mvista.com> (raw)
If you have both SLIM and selinux compiled into your kernel selinux will panic
if it can't register itself. The code below,
if (register_security (&selinux_ops))
panic("SELinux: Unable to register with kernel.\n");
"security/selinux/hooks.c" 5014 lines --95%-- 4811,35 96%
This could be a bug report cause I bet there's a better way to make these mutually
exclusive.
Signed-Off-By: Daniel Walker <dwalker@mvista.com>
---
security/slim/Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.19/security/slim/Kconfig
===================================================================
--- linux-2.6.19.orig/security/slim/Kconfig
+++ linux-2.6.19/security/slim/Kconfig
@@ -1,6 +1,6 @@
config SECURITY_SLIM
boolean "SLIM support"
- depends on SECURITY && SECURITY_NETWORK && INTEGRITY
+ depends on SECURITY && SECURITY_NETWORK && INTEGRITY && !SECURITY_SELINUX
help
The Simple Linux Integrity Module implements a modified low water-mark
mandatory access control integrity model.
--
next reply other threads:[~2006-12-30 15:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-30 15:48 Daniel Walker [this message]
2006-12-30 15:53 ` Should be [PATCH -mm] -- Re: [PATCH -rt] panic on SLIM + selinux Daniel Walker
2007-01-02 18:05 ` Mimi Zohar
2007-01-02 19:01 ` Daniel Walker
2007-01-02 21:40 ` Serge E. Hallyn
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=20061230154804.862606000@mvista.com \
--to=dwalker@mvista.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@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