[rsbac] Problem with rsbac-admin example code.

Fabio Pozzi pozzi.fabio at gmail.com
Mon Nov 26 15:35:13 CET 2007


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


More information about the rsbac mailing list