public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Linux Security *Module* Framework (Was: LSM conversion to  static interface)
@ 2007-10-29 10:01 Rob Meijer
  2007-10-29 10:24 ` Crispin Cowan
  0 siblings, 1 reply; 141+ messages in thread
From: Rob Meijer @ 2007-10-29 10:01 UTC (permalink / raw)
  To: casey
  Cc: Chris Wright, Adrian Bunk, Simon Arlott, linux-kernel,
	linux-security-module, Jan Engelhardt, Linus Torvalds,
	Andreas Gruenbacher, Thomas Fricaccia, Jeremy Fitzhardinge,
	James Morris, Crispin Cowan, Giacomo Catenazzi, Alan Cox

On Thu, October 25, 2007 02:42, Casey Schaufler wrote:
>
> I agree that security code does need to provide security. What we
> need to get away from is the automatic attacks that are based on 20th
> century computer system assumptions. Things like "name based access
> control is rediculous", and "a module can't be any good if it doesn't
> deal with all objects", or "the granularity isn't fine enough". Look
> at TOMOYO. It's chuck full of good ideas. Why spend so much energy
> badgering them about not dealing with sockets? How about helping the
> AppArmor crew come up with acceptable implementations rather than
> whinging about the evils of hard links? And maybe, just maybe, we can
> get away from the inevitable claim that you could do that with a few
> minutes work in SELinux policy, but only if you're a security
> professional of course.

What may be even more relevant are those concepts that couldn't be done
in SELinux, and how proposals that come from the theory of alternative
access controll models (like object capability modeling) are dismissed
by the aparently largely MLS/MAC oriented people on the list.

In a wider contect than just this list, it apears to me that MLS and
Obj Caps advocates simply dismiss the alternative models as broken or as
irrelevant at best. In my view this attitude is very much pressent on
the MLS list.

It might in the light of this attitude even be a viable option to just
simply spin off 3 (or more) sets of LSM module sets, and maybe even put
some ifdefs in the base code depending on the chosen access controll model,
if for some reason the 'model' warants some major patch.

To me it would look like a good concept if LSM/Linux would try to support
all exisiting formal models of access controll, but without the need to
support all implementation alternatives for these models. That is, if a
module 'requires' a patch but the underlaying formal model does not, than
it would seem reasonable that the module be fixed. If however the 'model'
seems to require the patch, it may be perfectly reasonable for this patch
to be implemented, if need be with an ifdef for the used model.

Thus IMHO it may be a good idea to instead of a maintainer for LSM
modules as proposed, alternatively a maintainer for each formal model
may be more appropriate. This also would require module builders to first
think about what formal model they are actualy using, thus resulting in
cleaner module design.



Rob


^ permalink raw reply	[flat|nested] 141+ messages in thread
* Re: Linux Security *Module* Framework (Was: LSM conversion to       static interface)
@ 2007-10-29 19:04 Rob Meijer
  2007-10-29 19:41 ` Crispin Cowan
  2007-10-29 20:27 ` Casey Schaufler
  0 siblings, 2 replies; 141+ messages in thread
From: Rob Meijer @ 2007-10-29 19:04 UTC (permalink / raw)
  To: Crispin Cowan
  Cc: rmeijer, casey, Chris Wright, Adrian Bunk, Simon Arlott,
	linux-kernel, linux-security-module, Jan Engelhardt,
	Linus Torvalds, Andreas Gruenbacher, Thomas Fricaccia,
	Jeremy Fitzhardinge, James Morris, Giacomo Catenazzi, Alan Cox

On Mon, October 29, 2007 11:24, Crispin Cowan wrote:

>> Thus IMHO it may be a good idea to instead of a maintainer for LSM
>> modules as proposed, alternatively a maintainer for each formal model
>> may be more appropriate. This also would require module builders to
>> first
>> think about what formal model they are actualy using, thus resulting in
>> cleaner module design.
>>
> I *really* dislike this idea. It seems to set up the situation that the
> only acceptable modules are those that follow some "formal" model.
> Problems:
>
>     * What qualifies as a formal model? This becomes an arbitrary litmus
>       test, depending on whether the model was originally published in a
>       sufficiently snooty forum.
>     * What if someone invents a new model that has not been "formalized"
>       yet? Should Linux be forced to wait until the idea has been
>       through the academic mill before we allow someone to try
>       implementing a module for the idea?

I may have been stating things a bit to strong when talking only about
"formal" models only. But possibly you could just define the non-formal
experimental models as a single group.

The thing I was trying to propose was aimed at the problem that if someone
proposes a patch to the LSM base code that he/she feels is needed to
complete an LSM module that implements a particular (formal) model,
he/she would end up explaining and/or defending both the 'model', the module
and its requirement for the patch.

What I tried to propose is to assign some sort of maintainer role for each
(formal) model, and let these roles take care of the module/patch part of
stuff, while the module writer would only need to defend/discuss the the
patch with the model maintainer.

>     * The proposal only allows a single implementation of each formal
>       model. In theory, theory is just like practice, but in practice it
>       is not. SMACK and SELinux follow substantially similar formal
>       models (not exactly the same) so should we exclude one and keep
>       the other? No, of course not, because in practice they are very
>       different.

I would think the two may benefit from a role as described above.
But I was thinking more in the line of new modules that may again
implement this same model, and would thus benefit from interaction with
this 'model maintainer' role.


Rob


^ permalink raw reply	[flat|nested] 141+ messages in thread

end of thread, other threads:[~2007-11-26 20:52 UTC | newest]

Thread overview: 141+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <167451.96128.qm@web38607.mail.mud.yahoo.com>
2007-10-18  2:18 ` LSM conversion to static interface Linus Torvalds
2007-10-19 20:26   ` Andreas Gruenbacher
2007-10-19 20:40     ` Linus Torvalds
2007-10-20 11:05       ` Jan Engelhardt
2007-10-20 22:57         ` James Morris
2007-10-21 22:59           ` Adrian Bunk
2007-10-23  4:09           ` LSM conversion to static interface [revert patch] Arjan van de Ven
2007-10-23  4:56             ` James Morris
2007-10-23  4:57               ` Arjan van de Ven
2007-10-23  5:16             ` Chris Wright
2007-10-23  9:10               ` Jan Engelhardt
2007-10-23  9:13                 ` Chris Wright
2007-10-23  9:14                   ` Jan Engelhardt
2007-10-24  0:31               ` Jeremy Fitzhardinge
2007-10-24  0:32                 ` Chris Wright
2007-10-24  5:06                 ` Arjan van de Ven
2007-10-24 11:50                   ` Linux Security *Module* Framework (Was: LSM conversion to static interface Simon Arlott
2007-10-24 12:55                     ` Adrian Bunk
2007-10-24 18:11                       ` Linux Security *Module* Framework (Was: LSM conversion to static interface) Simon Arlott
2007-10-24 18:51                         ` Jan Engelhardt
2007-10-24 18:59                           ` Simon Arlott
2007-10-24 19:04                             ` Jan Engelhardt
2007-10-24 21:02                               ` David P. Quigley
2007-10-24 21:37                                 ` Serge E. Hallyn
2007-10-24 21:51                                   ` Jan Engelhardt
2007-10-24 22:02                                     ` David P. Quigley
2007-10-24 23:13                                       ` Jan Engelhardt
2007-10-25  1:50                                   ` david
2007-10-25  3:50                                   ` Kyle Moffett
2007-10-24 21:42                                 ` Jan Engelhardt
2007-10-24 21:58                                 ` Casey Schaufler
2007-10-24 22:04                                   ` David P. Quigley
2007-10-25 11:38                                 ` Simon Arlott
2007-10-24 20:18                           ` Crispin Cowan
2007-10-24 20:46                             ` Jan Engelhardt
2007-10-24 21:29                               ` Casey Schaufler
2007-10-24 22:31                         ` Adrian Bunk
2007-10-24 22:58                           ` Casey Schaufler
2007-10-24 23:32                             ` Adrian Bunk
2007-10-24 23:42                               ` Linus Torvalds
2007-10-25  0:41                                 ` Chris Wright
2007-10-25  2:19                                   ` Arjan van de Ven
2007-10-30  3:37                                   ` Toshiharu Harada
2007-10-25  1:03                                 ` Casey Schaufler
2007-10-25  0:23                             ` Chris Wright
2007-10-25  0:35                               ` Ray Lee
2007-10-25  1:26                                 ` Peter Dolding
2007-10-25  1:41                                 ` Alan Cox
2007-10-25  2:11                                   ` david
2007-10-25 18:17                                   ` Ray Lee
2007-10-25 22:21                                     ` Alan Cox
2007-10-26  3:45                                       ` david
2007-10-26  5:44                                         ` Peter Dolding
2007-10-27 18:29                                     ` Pavel Machek
2007-10-28 18:48                                       ` Hua Zhong
2007-10-28 19:05                                       ` Hua Zhong
2007-10-28 22:08                                   ` Crispin Cowan
2007-10-28 22:50                                     ` Alan Cox
2007-11-26 20:42                                       ` serge
2007-10-28 23:55                                     ` Peter Dolding
2007-10-29  5:12                                     ` Arjan van de Ven
2007-10-25  9:19                                 ` Bernd Petrovitsch
2007-10-25 16:04                                   ` Ray Lee
2007-10-25 17:10                                     ` Arjan van de Ven
2007-10-30  9:41                                     ` Bernd Petrovitsch
2007-10-25  1:42                               ` Casey Schaufler
2007-10-27 18:22                                 ` Pavel Machek
2007-10-28 19:42                                   ` Linux Security *Module* Framework Tilman Schmidt
2007-10-28 20:46                                     ` Jan Engelhardt
2007-10-30  3:23                                 ` Linux Security *Module* Framework (Was: LSM conversion to static interface) Toshiharu Harada
2007-10-30  8:40                                   ` Jan Engelhardt
2007-10-30  8:50                                     ` Crispin Cowan
2007-10-30  9:27                                       ` Jan Engelhardt
2007-10-30  9:21                                     ` Toshiharu Harada
2007-10-25 11:44                           ` Simon Arlott
2007-10-25 23:09                           ` Tilman Schmidt
2007-10-26  2:56                             ` Greg KH
2007-10-26  7:09                               ` Jan Engelhardt
2007-10-26 15:54                                 ` Greg KH
2007-10-26  9:46                               ` Tilman Schmidt
2007-10-26 15:58                                 ` Greg KH
2007-10-26 16:32                                   ` Simon Arlott
2007-10-27 14:07                                   ` eradicating out of tree modules (was: Linux Security *Module* Framework) Tilman Schmidt
2007-10-28  1:21                                     ` Adrian Bunk
2007-10-26 23:26                                 ` Linux Security *Module* Framework (Was: LSM conversion to static interface) Adrian Bunk
2007-10-27 14:47                                   ` eradicating out of tree modules (was: : Linux Security *Module* Framework) Tilman Schmidt
2007-10-27 17:31                                     ` eradicating out of tree modules Stefan Richter
2007-10-28  0:55                                     ` eradicating out of tree modules (was: : Linux Security *Module* Framework) Adrian Bunk
2007-10-28  9:25                                       ` eradicating out of tree modules Stefan Richter
2007-10-28 12:01                                         ` Tilman Schmidt
2007-10-28 14:37                                           ` Stefan Richter
2007-10-28 14:59                                             ` Simon Arlott
2007-10-28 16:55                                             ` Tilman Schmidt
2007-10-28 18:51                                       ` Tilman Schmidt
2007-10-28 19:25                                         ` Adrian Bunk
2007-10-30  0:29                                           ` Tilman Schmidt
2007-10-30 13:11                                             ` linux-os (Dick Johnson)
2007-10-30 13:19                                               ` Xavier Bestel
2007-10-30 15:30                                               ` Greg KH
2007-10-29 23:51                               ` Out-of-tree modules [was: Linux Security *Module* Framework] Jan Engelhardt
2007-10-30  0:46                                 ` Lee Revell
2007-10-30  1:19                                   ` Jan Engelhardt
2007-10-27 14:08                     ` Linux Security *Module* Framework (Was: LSM conversion to static interface Tetsuo Handa
2007-11-05  6:42                       ` Crispin Cowan
2007-10-23  9:13           ` Jan Engelhardt
2007-10-23  5:44         ` Giacomo Catenazzi
2007-10-23  8:55           ` Jan Engelhardt
2007-10-23  9:14             ` Giacomo A. Catenazzi
2007-10-23  9:18               ` Jan Engelhardt
2007-10-23 15:20             ` Serge E. Hallyn
2007-10-23 15:28               ` Jan Engelhardt
2007-10-23 15:34                 ` Serge E. Hallyn
2007-10-25 10:23                   ` Valdis.Kletnieks
2007-10-19 21:07     ` James Morris
2007-10-22  1:12   ` Crispin Cowan
2007-10-29 10:01 Linux Security *Module* Framework (Was: LSM conversion to static interface) Rob Meijer
2007-10-29 10:24 ` Crispin Cowan
2007-10-29 13:32   ` Peter Dolding
  -- strict thread matches above, loose matches on Subject: below --
2007-10-29 19:04 Rob Meijer
2007-10-29 19:41 ` Crispin Cowan
2007-10-30  5:13   ` Peter Dolding
2007-10-30 18:42     ` Jan Engelhardt
2007-10-30 19:14       ` Casey Schaufler
2007-10-30 19:50         ` Jan Engelhardt
2007-10-30 23:38       ` Peter Dolding
2007-10-31  0:16         ` david
2007-10-31  2:21           ` Peter Dolding
2007-10-31  3:43             ` Casey Schaufler
2007-10-31  5:08             ` david
2007-10-31  6:43             ` Crispin Cowan
2007-10-31  9:03               ` Peter Dolding
2007-10-31 10:10               ` Toshiharu Harada
2007-11-01  2:04                 ` Peter Dolding
2007-11-01  2:20                   ` Casey Schaufler
2007-11-01  2:51                     ` Peter Dolding
2007-11-01  7:17                       ` Jan Engelhardt
2007-11-01 11:49                         ` David Newall
2007-11-04  1:28                           ` Peter Dolding
2007-11-05  6:56                       ` Andrew Morgan
2007-11-05 13:29                         ` Serge E. Hallyn
2007-10-29 20:27 ` Casey Schaufler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox