[rsbac] Problem with rsbac-admin example code.

kang kang at rsbac.org
Tue Nov 27 12:34:35 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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
> package.
>
> 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
> "rsbac_log_levels"
> /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,
>
> Fabio
>
Hi,

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

kang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHTADK80VHuunDdyYRCI9LAKCVJRKBM1rjqHrLdplVmk6D7EoT9QCfe4AT
yzDXto8zj8jQV4L2hRL8UFA=
=ta75
-----END PGP SIGNATURE-----



More information about the rsbac mailing list