linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LSM Stacking
@ 2007-03-13  7:44 JanuGerman
  2007-03-13 21:17 ` Chris Wright
  0 siblings, 1 reply; 2+ messages in thread
From: JanuGerman @ 2007-03-13  7:44 UTC (permalink / raw)
  To: linux-kernel

Hi All,

Within the security folder in the kernel tree, the
2.6.20 linux kernel distribution is shipped with a
file root_plug.c (written by Greg Kroah-Hartman),
which is a classic introduction to Linux Security
Modules (LSM). The folder also contains the folder of
SELinux.

My question is that whether root_plug.c security
module is stacked with the SELinux security module or
not. If root_plug.c is stacked, where i can find the
code which handles the stacking of SELinux and
root_plug.c within the kernel.

Further, any pointer to stacking mechansims in Linux
2.6.* kernel will be highly appreciated.

Thanking you in advance,
MA





		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

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

* Re: LSM Stacking
  2007-03-13  7:44 LSM Stacking JanuGerman
@ 2007-03-13 21:17 ` Chris Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wright @ 2007-03-13 21:17 UTC (permalink / raw)
  To: JanuGerman; +Cc: linux-kernel

* JanuGerman (doublemalam@yahoo.co.uk) wrote:
> My question is that whether root_plug.c security
> module is stacked with the SELinux security module or
> not. If root_plug.c is stacked, where i can find the
> code which handles the stacking of SELinux and
> root_plug.c within the kernel.

Look at rootplug_init where it does mod_reg_security.
If you have SELinux builtin, and subsequently register
rootplug, it will stack under SELinux.  Typically this
isn't the case (typically stacks with capabilities).

> Further, any pointer to stacking mechansims in Linux
> 2.6.* kernel will be highly appreciated.

Check the linux-security-module archives.  This issue
has been discussed quite extensively numerous times
there.

thanks,
-chris

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

end of thread, other threads:[~2007-03-13 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13  7:44 LSM Stacking JanuGerman
2007-03-13 21:17 ` Chris Wright

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