LSM Stacking

Previous thread: Re: [PATCH 1/2] Fix some coding-style errors in autofs by Randy.Dunlap on Monday, March 12, 2007 - 10:02 pm. (3 messages)

Next thread: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires by Gene Heskett on Tuesday, March 13, 2007 - 1:28 am. (14 messages)
From: JanuGerman
Subject: LSM Stacking
Date: Tuesday, March 13, 2007 - 12:44 am

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
-

From: Chris Wright
Date: Tuesday, March 13, 2007 - 2:17 pm

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

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

thanks,
-chris
-

Previous thread: Re: [PATCH 1/2] Fix some coding-style errors in autofs by Randy.Dunlap on Monday, March 12, 2007 - 10:02 pm. (3 messages)

Next thread: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires by Gene Heskett on Tuesday, March 13, 2007 - 1:28 am. (14 messages)