Re: Question about rsbac latest kernel support

Lonyai Gergely <[email protected]>
Newsgroups gmane.linux.rsbac
Organization Mandriva Cooker
Message-ID <[email protected]>
Tue, 01 Sep 2009 16:31:00 +0300 -n
Kristian Kirilov <[email protected]> írta:

> Hello, im new in rsbac and i cant run it.
> 
> First where i can find quick howto who will show to me step by step 
> rsbac downloading new kernel, patching the source and compiling in deb 
> package.
> 
> I want to make myself customized kernel with rsbac support all compiled 
> to deb package (this is just preferred method to install my kernels)
> 
> I reading in official rsbac website cuz rsbac support only recent 
> kernels but when i try to patch 2.6.30.5 with rsbac my patch failed, 
> same as 2.6.30.. maybe i missed something don't know.
> 
> I just downloading fresh kernel from kernel.org then downloading rsbac 
> common and rsbac kernel patch. I unpacking the kernel and rsbac common 
> in same directory then i apply the patch with patch -p1 patch... so i 
> cant see reject files or something wrong.
> 
> When i try to compile i receive this error:
> 
> | CC rsbac/data_structures/aci_data_structures.o
> In file included from rsbac/data_structures/aci_data_structures.c:47:
> include/rsbac/aci_data_structures.h: In function ‘rsbac_write_lock_irq’:
> include/rsbac/aci_data_structures.h:1795: warning: 
> ‘raw_local_irq_disable’ is static but used in inline function 
> ‘rsbac_write_lock_irq’ which is not static
> include/rsbac/aci_data_structures.h: In function ‘rsbac_write_unlock_irq’:
> include/rsbac/aci_data_structures.h:1801: warning: 
> ‘raw_local_irq_enable’ is static but used in inline function 
> ‘rsbac_write_unlock_irq’ which is not static
> rsbac/data_structures/aci_data_structures.c: In function 
> ‘lookup_aci_path_dentry’:
> rsbac/data_structures/aci_data_structures.c:487: error: implicit 
> declaration of function ‘DQUOT_INIT’
> rsbac/data_structures/aci_data_structures.c: In function ‘rsbac_do_init’:
> rsbac/data_structures/aci_data_structures.c:6621: error: dereferencing 
> pointer to incomplete type
> make[3]: *** [rsbac/data_structures/aci_data_structures.o] Error 1
> make[2]: *** [rsbac/data_structures] Error 2
> make[1]: *** [rsbac] Error 2
> make[1]: Leaving directory `/home/kernel/linux-2.6.30'
> 
> Can somebody help to me? Thanks
> |
> _______________________________________________
> rsbac mailing list
> [email protected]
> http://www.rsbac.org/mailman/listinfo/rsbac

DQUOT_INIT: this is a know problem by me. I made a very-prepatched kernel with rsbac patch and it is either not compiled with similar output or working but it kill the rsbac's database.
You use a vanilla kernel from kernel.org or use your distribution's kernel?

The actual rsbac source avaliable on svn://svn.rsbac.org/rsbac-2.6/trunk/

Aleph

_______________________________________________
rsbac mailing list
[email protected]
http://www.rsbac.org/mailman/listinfo/rsbac
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqdJ68ACgkQp/MJ3Iz42li7fACgieRY87AeyrGB0NtSsYr7UeCZ
k1YAn16cL7P1gZSVI9DRMy+yHa3u5eyj
=qNDJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.