[rsbac] Problem with rsbac-admin example code.
kang at rsbac.org
Tue Nov 27 12:34:35 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Fabio Pozzi wrote:
> Hi list,
> I'm using Gentoo-hardened with kernel 2.6.21-rsbac and I was trying to
> compile the reg_syscall.c code example I found inside the rsbac-admin
> I get this errors and I don't know what can be wrong:
> in file included from /usr/src/linux/include/rsbac/reg.h:13,
> from reg_syscall.c:8:
> /usr/src/linux/include/rsbac/debug.h:44: error: syntax error before
> /usr/src/linux/include/rsbac/debug.h:44: warning: data definition has no
> type or storage class
> In file included from reg_syscall.c:8:
> /usr/src/linux/include/rsbac/reg.h:46: warning: "struct dentry" declared
> inside parameter list
> /usr/src/linux/include/rsbac/reg.h:46: warning: its scope is only this
> definition or declaration, which is probably not what you want
> /usr/src/linux/include/rsbac/reg.h:61: error: syntax error before "kdev"
> /usr/src/linux/include/rsbac/reg.h:64: error: syntax error before "kdev"
> Thank you in advance,
please use the samples from the kernel directory
(rsbac/adf/reg/reg_sampleX.c) for now. They are the same, but have
been updated to work with recent kernels.
The next release of the rsbac-admin package will have the same samples
that compile with newer kernels. (at least starting from 2.6.23)
Thanks for the report
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the rsbac