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

From: Adrian Bunk (bunk@private)
Date: Mon Aug 22 2005 - 16:11:11 PDT


On Mon, Aug 22, 2005 at 11:52:09AM -0500, serue@private wrote:
> Quoting serue@private (serue@private):
> > 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@private>
> 
> 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



This archive was generated by hypermail 2.1.3 : Mon Aug 22 2005 - 16:11:33 PDT