Re: LSM Stacking

From: Chris Wright
Date: Tue Mar 13 2007 - 17:16:38 EST


* JanuGerman (doublemalam@xxxxxxxxxxx) 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/