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

From: serue
Date: Mon Aug 22 2005 - 16:38:30 EST


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