From: "Serge E. Hallyn" <serge@hallyn.com>
To: Christian Ehrhardt <lk@c--e.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
James Morris <jmorris@namei.org>,
Chris Wright <chrisw@sous-sol.org>,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
Stephen Smalley <sds@tycho.nsa.gov>,
"Serge E. Hallyn" <serue@us.ibm.com>,
Arjan van de Ven <arjan@infradead.org>
Subject: Re: [PATCH try #3] security: Convert LSM into a static interface
Date: Thu, 19 Jul 2007 07:24:24 -0500 [thread overview]
Message-ID: <20070719122424.GA5186@vino.hallyn.com> (raw)
In-Reply-To: <20070719073948.GI18840@lisa.in-ulm.de>
Quoting Christian Ehrhardt (lk@c--e.de):
> On Wed, Jul 18, 2007 at 06:35:03PM -0700, Andrew Morton wrote:
> > On Sat, 14 Jul 2007 12:37:01 -0400 (EDT)
> > James Morris <jmorris@namei.org> wrote:
> >
> > > Convert LSM into a static interface, as the ability to unload a security
> > > module is not required by in-tree users and potentially complicates the
> > > overall security architecture.
> > >
> > > Needlessly exported LSM symbols have been unexported, to help reduce API
> > > abuse.
> > >
> > > Parameters for the capability and root_plug modules are now specified
> > > at boot.
> > >
> > > The SECURITY_FRAMEWORK_VERSION macro has also been removed.
> >
> > I'd like to understand who is (or claims to be) adversely affected by this
> > change, and what their complaints (if any) will be.
>
> I am currently loading and unloading a prototype like security module
> on a regular basis. The fact that such a module can be loaded and
> unloaded (albeit in an unsecure way) greatly simplifies development.
> Thus this change will adversely affect me and probably also others that
> develop LSMs.
>
> Additionally deployment of and choice among legitimate security modules
> that may or may not (yet) be part of the main kernel tree is simplified by
> an option to load these security modules (e.g. at boot time) into a running
Right, the ability to boot with security.capability=disabpled (or
whatever) and then load a custom module without having to use a whole
new kernel is something I'm sure end-users want.
Especially since compiling a kernel which works with, say, a default
fedora install, with lvm etc, is not imo for a novice (where novice
!= security novice).
Maybe there are no out of tree modules being used this way, or maybe
there are but I just don't know about them, or maybe like James says
they are all illegal modules and kill a puppy every time they are
loaded.
> kernel. This way a distribution can provide AppArmor, SELinux, SecLevl and
> whatever as options very much in the same way that this works for a driver.
>
> > Because I prefer my flamewars pre- rather than post-merge.
>
> You asked for oppinion. I do not plan to engage in any flamewars.
Ditto. There is very loud support for this - which may mean there is
*broad* support for it.
If we could get a few (non-afilliated :) people who work with
customers in the security field to tell us whether this is being
used, that would be very helpful. Not sure how to get that.
Or we just apply the patch and see who yells :)
-serge
next prev parent reply other threads:[~2007-07-19 12:24 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 16:37 James Morris
2007-07-18 15:28 ` Arjan van de Ven
2007-07-19 1:35 ` Andrew Morton
2007-07-19 2:42 ` James Morris
2007-07-19 3:35 ` david
2007-07-19 5:31 ` Greg KH
2007-07-19 7:39 ` Christian Ehrhardt
2007-07-19 12:24 ` Serge E. Hallyn [this message]
2007-07-19 12:37 ` James Morris
2007-07-19 12:42 ` Serge E. Hallyn
2007-07-19 13:00 ` James Morris
2007-07-19 13:37 ` Serge E. Hallyn
2007-07-19 16:25 ` Adrian Bunk
2007-07-19 12:56 ` Scott Preece
2007-07-19 13:15 ` Alan Cox
2007-07-19 13:30 ` Scott Preece
2007-07-19 13:16 ` Adrian Bunk
2007-07-19 16:54 ` Arjan van de Ven
2007-07-19 17:19 ` Serge E. Hallyn
2007-07-19 17:34 ` Chris Wright
2007-07-19 18:00 ` Arjan van de Ven
2007-07-19 18:10 ` Serge E. Hallyn
2007-07-19 17:24 ` Christian Ehrhardt
2007-07-24 8:02 ` Andrew Morton
2007-07-24 8:53 ` Greg KH
2007-07-24 8:58 ` Andrew Morton
2007-07-24 18:25 ` Greg KH
[not found] <OF54A17BCF.9A1D7004-ON8725731D.0044828E-8625731D.0046CAED@us.ibm.com>
2007-07-19 13:01 ` James Morris
2007-07-19 13:19 ` James Morris
2007-07-19 13:58 ` Christoph Hellwig
2007-07-19 16:01 ` Greg KH
[not found] <Line.LNX.4.64.0706251953020.25122@localhost.localdomain.suse.lists.linux.kernel>
2007-06-26 5:21 ` Marcus Meissner
[not found] <20070617135239.GA17689@sergelap>
[not found] ` <4676007F.7060503@kernel.org>
[not found] ` <20070618044017.GW3723@sequoia.sous-sol.org>
[not found] ` <20070620171037.GA28670@sergelap.ibm.com>
[not found] ` <20070620174613.GF3723@sequoia.sous-sol.org>
2007-06-21 16:00 ` implement-file-posix-capabilities.patch Serge E. Hallyn
2007-06-23 8:13 ` implement-file-posix-capabilities.patch Andrew Morgan
2007-06-24 15:51 ` implement-file-posix-capabilities.patch Serge E. Hallyn
2007-06-24 16:18 ` implement-file-posix-capabilities.patch James Morris
2007-06-24 20:58 ` [PATCH][RFC] security: Convert LSM into a static interface James Morris
2007-06-24 22:09 ` Chris Wright
2007-06-25 4:33 ` [PATCH try #2] " James Morris
2007-06-25 16:59 ` Stephen Smalley
2007-06-25 23:56 ` [PATCH try #3] " James Morris
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=20070719122424.GA5186@vino.hallyn.com \
--to=serge@hallyn.com \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=chrisw@sous-sol.org \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=lk@c--e.de \
--cc=sds@tycho.nsa.gov \
--cc=serue@us.ibm.com \
/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®