LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: James Morris <jmorris@namei.org>
To: Alexey Dobriyan <adobriyan@sw.ru>
Cc: linux-kernel@vger.kernel.org, sds@tycho.nsa.gov,
	eparis@parisplace.org, casey@schaufler-ca.com
Subject: Re: SMACK or SELinux, but not both
Date: Tue, 26 Feb 2008 20:28:43 +1100 (EST)	[thread overview]
Message-ID: <Xine.LNX.4.64.0802262020001.527@us.intercode.com.au> (raw)
In-Reply-To: <20080226090953.GA7469@localhost.sw.ru>

On Tue, 26 Feb 2008, Alexey Dobriyan wrote:

> If SELinux is registered before SMACK, SMACK panics after
> register_security() call.
> 
> If SMACK is registered before SELinux, SELinux panics after
> register_security() call.
> 
> Consequently allmodconfig kernel doesn't boot. It would be nice if
> some Kconfig magic to exclude each other will be in place.

People want to be able to select the security model at boot time, so the 
option to build both LSMs is required.

You can stop SELinux from attempting to register as an LSM via selinux=0, 
which should allow you to boot with just Smack enabled.


- James
-- 
James Morris
<jmorris@namei.org>

  reply	other threads:[~2008-02-26  9:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26  9:09 Alexey Dobriyan
2008-02-26  9:28 ` James Morris [this message]
2008-02-26 12:39   ` Stephen Smalley
2008-02-28 21:11     ` Bill Davidsen

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=Xine.LNX.4.64.0802262020001.527@us.intercode.com.au \
    --to=jmorris@namei.org \
    --cc=adobriyan@sw.ru \
    --cc=casey@schaufler-ca.com \
    --cc=eparis@parisplace.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sds@tycho.nsa.gov \
    --subject='Re: SMACK or SELinux, but not both' \
    /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

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).