mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@intercode.com.au>
To: "'Christoph Hellwig'" <hch@infradead.org>
Cc: Crispin Cowan <crispin@wirex.com>, <torvalds@transmeta.com>,
	"Stephen D. Smalley" <sds@epoch.ncsc.mil>, <greg@kroah.com>,
	"Makan Pourzandi (LMC)" <Makan.Pourzandi@ericsson.ca>,
	<linux-security-module@wirex.com>,
	magniett <Frederic.Magniette@lri.fr>,
	<linux-kernel@vger.kernel.org>
Subject: Re: What went wrong with LSM, was: Re: [BK PATCH] LSM changes for 2.5.59
Date: Thu, 13 Feb 2003 12:02:31 +1100 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0302131014010.2621-100000@blackbird.intercode.com.au> (raw)
In-Reply-To: <20030212230550.A19831@infradead.org>

On Wed, 12 Feb 2003, 'Christoph Hellwig' wrote:

> And here we see _the_ problem with the LSM process.  LSM wasn't
> developed as part of the broad kernel community (lkml) but on
> a rather small, almost private list.

Many of the things that you are saying in this discussion are untrue.

The bulk of the development process was carried out for more than two
years on the LSM development mailing list, which is fully public and open
to anyone.  It is not "almost private", whatever that is supposed to mean.

Should those thousands of emails have ended up on lkml instead?  Before
you answer, try reading the first thousand (which I actually did when 
joining the project).

As for "rather small", hundreds of people were involved in discussion
during the initial development phase (Chris Wright generated some stats on
this last year).  These people included numerous long time kernel
developers, commercial developers, well known security researchers and 
anyone else who was interested enough to join.

There were specific LSM discussions at two kernel summits, while multiple
OLS presentations have been given on LSM.  These events were further
covered by numerous online media sites.  LSM information was posted
several times to lkml, before and after the initial codebase was
developed.  If you didn't notice any of these things before you started
complaining recently, please don't blame the LSM developers.

I do agree that we should have worked more closely with maintainers from
the beginning, but this was not out of trying to be secretive (of which we
have been accused quite a few times).  This happened out of believing that
we should reach a design consensus and write some code via the before
bothering any maintainers.  This approach was clearly flawed, and efforts
have since been made to rectify this for ongoing development.

(Note that this process occured publicly on the LSM development mailing
list, and that code was checked in as it was developed to publicly 
accessible bk repositories).

And I also agree that it would have been better if more people in general
discussed LSM on lkml.  For whatever reason, they did not.  I can point
you to many instances of LSM posts being made to lkml with zero response.  

The first LSM patch sent to lkml was actually applied by Linus with no
discussion from anyone else, _very_ much to our surprise.  We definitely
expected significant discussion from lkml subscribers and a highly
probable subsequent phase of rework before it would be accepted into
mainline.


> People added hooks not because they generally make sense but because
> their module needed it.

SELinux was used as a model for LSM because SELinux is _itself_ a
generalized access control framework (arising from over a decade of
research).  SELinux already supported MAC, TE, RBAC, IBAC and MLS, and was
one of the few existing Linux security projects with significant coverage
across the kernel.  Thus, it was an ideal basis for use as a model for the
initial design of the LSM hook placement and abstraction strategy.  Many
other projects were used as models as well.  In fact, I reviewed in detail
_every_ single Linux security project I could find when implementing the
networking hooks.

Claims of a "secret" and non-generalized design process are baseless.


- James
-- 
James Morris
<jmorris@intercode.com.au>





  parent reply	other threads:[~2003-02-13  0:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 16:58 Makan Pourzandi (LMC)
2003-02-12 18:45 ` 'Christoph Hellwig'
2003-02-12 19:11 ` magniett
2003-02-12 18:38   ` 'Christoph Hellwig'
2003-02-12 22:22     ` Crispin Cowan
2003-02-12 23:05       ` What went wrong with LSM, was: " 'Christoph Hellwig'
2003-02-12 23:24         ` Jesse Pollard
2003-02-13  1:02         ` James Morris [this message]
2003-02-13  4:19           ` Crispin Cowan
     [not found]           ` <mailman.1045110181.1643.linux-kernel2news@redhat.com>
2003-02-13  5:12             ` Pete Zaitcev
2003-02-13  6:52               ` Crispin Cowan
2003-02-13  1:56         ` Casey Schaufler
2003-02-13  4:37         ` Crispin Cowan

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=Pine.LNX.4.44.0302131014010.2621-100000@blackbird.intercode.com.au \
    --to=jmorris@intercode.com.au \
    --cc=Frederic.Magniette@lri.fr \
    --cc=Makan.Pourzandi@ericsson.ca \
    --cc=crispin@wirex.com \
    --cc=greg@kroah.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@wirex.com \
    --cc=sds@epoch.ncsc.mil \
    --cc=torvalds@transmeta.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®