[rsbac] kernel-2.6.35 patches...

Gergely Lonyai aleph at mandriva.org
Tue Aug 24 11:09:01 CEST 2010


> -------- Original Message --------
> Subject: Re: [rsbac] kernel-2.6.35 patches...
> From: "Gergely Lonyai" <aleph at mandriva.org>
> Date: Sat, August 21, 2010 9:38 pm
> To: "Thomas Backlund" <tmb at mandriva.org>
> Cc: rsbac at rsbac.org
> 
> 
> > -------- Original Message --------
> > Subject: Re: kernel-2.6.35 patches...
> > From: Thomas Backlund <tmb at mandriva.org>
> > Date: Sat, August 21, 2010 9:14 pm
> > To: Gergely Lonyai <aleph at mandriva.org>
> > 
> > 
> > 21.08.2010 21:45, Gergely Lonyai skrev:
> > >> -------- Original Message --------
> > >> Subject: kernel-2.6.35 patches...
> > >> From: Thomas Backlund<tmb at mandriva.org>
> > >> Date: Sat, August 21, 2010 7:53 pm
> > >> To: aleph at mandriva.org
> > >>
> > >>
> > >> Hi,
> > >>
> > >> I see you are moving kernel-rsbac to 2.6.35 series...
> > >>
> > >> You should pull theese too:
> > >>
> > >> Fixes broken NFS:
> > >> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel/current/PATCHES/patches/fs-nfs-fix-an-oops-in-the-NFSv4-atomic-open-code.patch
> > >> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel/current/PATCHES/patches/fs-nfs-fix-the-return-value-of-nfs_file_fsync.patch
> > >>
> > >> Fixes oops/automatic restart due to gcc optimizations (may or may not
> > >> trigger on current gcc, but since we are moving to gcc-4.5.x it might
> > >> trigger there too...:
> > >> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel/current/PATCHES/patches/x86-asm-Clean-up-and-simplify-set_64bit.patch
> > >> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/kernel/current/PATCHES/patches/x86-asm-Clean-up-and-simplify-asm-cmpxchg.h.patch
> > >>
> > >>
> > >> --
> > >> Thomas
> > >
> > > Thank you. I'm applaying now.
> > >
> > > Please help a problem. I receive this error message:
> > > drivers/infiniband/core/uverbs_main.c: In function 'ib_uverbs_init':
> > > drivers/infiniband/core/uverbs_main.c:856: error: 'uverbs_event_mnt'
> > > undeclared (first use in this function)
> > > drivers/infiniband/core/uverbs_main.c:856: error: (Each undeclared
> > > identifier is reported only once
> > > drivers/infiniband/core/uverbs_main.c:856: error: for each function it
> > > appears in.)
> > > make[3]: *** [drivers/infiniband/core/uverbs_main.o] Error 1
> > >
> > > Does you receive this error, or does it may be by RSBAC patch?
> > >
> > 
> > It's the rsbac patch adding this:
> > 
> > > --- linux/drivers/infiniband/core/uverbs_main.c	2010-08-13 22:44:56.000000000 +0200
> > > +++ work/drivers/infiniband/core/uverbs_main.c	2010-08-21 18:14:47.000000000 +0200
> > > @@ -48,6 +48,10 @@
> > >
> > >  #include <asm/uaccess.h>
> > >
> > > +#ifdef CONFIG_RSBAC
> > > +#include <rsbac/aci.h>
> > > +#endif
> > > +
> > >  #include "uverbs.h"
> > >
> > >  MODULE_AUTHOR("Roland Dreier");
> > > @@ -848,6 +852,9 @@ static int __init ib_uverbs_init(void)
> > >  		goto out_class;
> > >  	}
> > >
> > > +#ifdef CONFIG_RSBAC
> > > +	rsbac_mount(uverbs_event_mnt);
> > > +#endif
> > >  	ret = ib_register_client(&uverbs_client);
> > >  	if (ret) {
> > >  		printk(KERN_ERR "user_verbs: couldn't register client\n");
> > 
> > 
> > but "uverbs_event_mnt" does not exist anymore, so either drop that hunk 
> > for now, or disable INFINIBAND in -rsbac kernels until the patch is 
> > rewritten to cope with the changes...
> > 
> > --
> > Thomas
> 
> I don't have courage to modify the code. I forward it to rsbac's
> developers.
> 
> Aleph
> 

This problem have in the 2.6.33 so. What function do I use instead its?

Aleph



More information about the rsbac mailing list