[rsbac] problems compiling rsbac

Liviu Sas rsbac@rsbac.org
Thu Aug 29 09:50:02 2002


	I am trying to install rsbac on a test machine, but I get this error when=
=20
compiling the kernel.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall -Wstrict-prototypes=
=20
=2DWno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer=
=20
=2Dpipe -mpreferred-stack-boundary=3D2 -march=3Di586   -nostdinc -I=20
/usr/lib/gcc-lib/i386-slackware-linux/2.95.3/include=20
=2DDKBUILD_BASENAME=3Dgen_lists  -DEXPORT_SYMTAB -c gen_lists.c
gen_lists.c: In function `rsbac_list_register':
gen_lists.c:4033: parse error before `const'
gen_lists.c:4065: structure has no member named `subdesc_size'
gen_lists.c:4065: structure has no member named `subdata_size'
gen_lists.c:4074: warning: assignment from incompatible pointer type
gen_lists.c:4121: `subcompare' undeclared (first use in this function)
gen_lists.c:4121: (Each undeclared identifier is reported only once
gen_lists.c:4121: for each function it appears in.)
gen_lists.c:4122: `get_subconv' undeclared (first use in this function)
gen_lists.c:4123: `def_subdata' undeclared (first use in this function)
gen_lists.c:4124: incompatible type for argument 1 of `create_lol_reg'
gen_lists.c:4124: warning: assignment from incompatible pointer type
gen_lists.c:4137: warning: passing arg 1 of `read_lol_list' from incompatib=
le=20
pointer type
gen_lists.c:4159: warning: passing arg 1 of `clear_lol_reg' from incompatib=
le=20
pointer type
gen_lists.c:4174: warning: passing arg 1 of `add_lol_reg' from incompatible=
=20
pointer type
gen_lists.c:4174: warning: assignment from incompatible pointer type
gen_lists.c:4182: warning: passing arg 1 of `clear_lol_reg' from incompatib=
le=20
pointer type
gen_lists.c:4213: parse error before `const'
gen_lists.c:4236: `key' undeclared (first use in this function)
make[3]: *** [gen_lists.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.19/rsbac/data_structures'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.19/rsbac/data_structures'
make[1]: *** [_subdir_data_structures] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19/rsbac'
make: *** [_dir_rsbac] Error 2

	I coulnt't find any info on why does it happend, so I decided to write on=
=20
this mailing list.

Here it is my configuration :

CONFIG_RSBAC=3Dy
# CONFIG_RSBAC_INIT_THREAD is not set
CONFIG_RSBAC_PROC=3Dy
CONFIG_RSBAC_INIT_CHECK=3Dy
CONFIG_RSBAC_NO_WRITE=3Dy
# CONFIG_RSBAC_DEBUG is not set
CONFIG_RSBAC_ADVANCED=3Dy
# CONFIG_RSBAC_DEV_USER_BACKUP is not set
CONFIG_RSBAC_SECOFF_UID=3D400
# CONFIG_RSBAC_MAINT is not set
# CONFIG_RSBAC_NET is not set
CONFIG_RSBAC_REG=3Dy
CONFIG_RSBAC_REG_SAMPLES=3Dy
CONFIG_RSBAC_MAC=3Dy
CONFIG_RSBAC_MAC_DEF_INHERIT=3Dy
CONFIG_RSBAC_MAC_SMART_INHERIT=3Dy
# CONFIG_RSBAC_MAC_AUTH_PROT is not set
# CONFIG_RSBAC_MAC_GEN_PROT is not set
CONFIG_RSBAC_MAC_LIGHT=3Dy
# CONFIG_RSBAC_FC is not set
# CONFIG_RSBAC_SIM is not set
# CONFIG_RSBAC_PM is not set
# CONFIG_RSBAC_MS is not set
# CONFIG_RSBAC_FF is not set
CONFIG_RSBAC_RC=3Dy
CONFIG_RSBAC_RC_AUTH_PROT=3Dy
CONFIG_RSBAC_RC_GEN_PROT=3Dy
CONFIG_RSBAC_RC_BACKUP=3Dy
# CONFIG_RSBAC_AUTH is not set
CONFIG_RSBAC_ACL=3Dy
CONFIG_RSBAC_ACL_SUPER_FILTER=3Dy
# CONFIG_RSBAC_ACL_AUTH_PROT is not set
# CONFIG_RSBAC_ACL_GEN_PROT is not set
CONFIG_RSBAC_ACL_BACKUP=3Dy
CONFIG_RSBAC_CAP=3Dy
# CONFIG_RSBAC_CAP_AUTH_PROT is not set
# CONFIG_RSBAC_SWITCH is not set
CONFIG_RSBAC_SOFTMODE=3Dy
CONFIG_RSBAC_SOFTMODE_SYSRQ=3Dy
# CONFIG_RSBAC_SOFTMODE_IND is not set
# CONFIG_RSBAC_ALLOW_DAC_DISABLE is not set
# CONFIG_RSBAC_SECDEL is not set
# CONFIG_RSBAC_RW is not set
# CONFIG_RSBAC_SYSLOG is not set
# CONFIG_RSBAC_NO_DECISION_ON_NETMOUNT is not set
# CONFIG_RSBAC_SYM_REDIR is not set
# CONFIG_RSBAC_USER_MOD_IOPERM is not set
CONFIG_RSBAC_IND_LOG=3Dy
CONFIG_RSBAC_IND_USER_LOG=3Dy
CONFIG_RSBAC_IND_PROG_LOG=3Dy
CONFIG_RSBAC_LOG_FULL_PATH=3Dy
CONFIG_RSBAC_MAX_PATH_LEN=3D1024
CONFIG_RSBAC_RMSG=3Dy
# CONFIG_RSBAC_RMSG_EXCL is not set
# CONFIG_RSBAC_RMSG_NOSYSLOG is not set
CONFIG_RSBAC_XSTATS=3Dy


Please reply to my personal address, as I am not subscribed to the list... =
yet=20
=2E..

		Thanks in advance ...



=2D-=20
Down with categorical imperative!