Re: [PATCH -mm 3/3] [LSM] Stacking support for inode_init_security

From: Adrian Bunk
Date: Mon Aug 22 2005 - 18:11:39 EST


On Mon, Aug 22, 2005 at 11:52:09AM -0500, serue@xxxxxxxxxx wrote:
> Quoting serue@xxxxxxxxxx (serue@xxxxxxxxxx):
> > This patch adds two stackable test LSMs which only define
> > inode_init_security(). Any file created while these modules are
> > loaded should have the xattrs ("security.name1", "value1") and
> > ("security.name2", "value2").
> >
> > thanks,
> > -serge
>
> I'd forgotten a 'quilt add'. The following trivial patch against
> security/Makefile is necessary to actually compile the test LSMs...
>
> thanks,
> -serge
>
> Signed-off-by: Serge Hallyn <serue@xxxxxxxxxx>
>
> Index: linux-2.6.13-rc6-mm1/security/Makefile
> ===================================================================
> --- linux-2.6.13-rc6-mm1.orig/security/Makefile 2005-08-21 21:19:32.000000000 -0500
> +++ linux-2.6.13-rc6-mm1/security/Makefile 2005-08-22 15:19:41.000000000 -0500
> @@ -19,3 +19,4 @@ obj-$(CONFIG_SECURITY_CAPABILITIES) += c
> obj-$(CONFIG_SECURITY_CAP_STACK) += commoncap.o cap_stack.o
> obj-$(CONFIG_SECURITY_ROOTPLUG) += commoncap.o root_plug.o
> obj-$(CONFIG_SECURITY_SECLVL) += seclvl.o
> +obj-m += testinitsec1.o testinitsec2.o

You want to build these modules always and always modular?

No matter whether the security subsystem is built modular or static?

No matter whether the user has enabled or completely disabled the
security subsystem?

...

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/