Hi, This is my first attempt at installing an LSM patched kernel, but I'm having problems compiling the kernel after configuring the kernel. I'm trying to build it on a RedHat 7.2 system. I have patched a newly uncompressed 2.4.18 kernel with the lsm-full-2002_02_25-2.4.18 patch. The patching process worked fine and I've configured the kernel with the following options: # # Security options # CONFIG_SECURITY_CAPABILITIES=y CONFIG_SECURITY_IP=m CONFIG_SECURITY_SELINUX=m CONFIG_SECURITY_SELINUX_DEVELOP=y CONFIG_SECURITY_SELINUX_MLS=y CONFIG_SECURITY_OWLSM=m CONFIG_OWLSM_RLIMIT_NPROC=y CONFIG_OWLSM_LINK=y CONFIG_OWLSM_FD=y # CONFIG_SECURITY_DTE is not set # # Linux Intrusion Detection System # CONFIG_LIDS=m CONFIG_LIDS_MAX_INODE=1024 CONFIG_LIDS_MAX_SACL=1024 CONFIG_LIDS_MAX_OACL=1024 CONFIG_LIDS_MAX_PROTECTED_PID=1024 CONFIG_LIDS_HANGUP=y CONFIG_LIDS_SA_EXEC_UP=y CONFIG_LIDS_NO_EXEC_UP=y CONFIG_LIDS_NO_FLOOD_LOG=y CONFIG_LIDS_TIMEOUT_AFTER_FLOOD=60 # CONFIG_LIDS_ALLOW_SWITCH is not set CONFIG_LIDS_PORT_SCAN_DETECTOR=y CONFIG_LIDS_SA_THROUGH_NET=y CONFIG_LIDS_HIDE_KLIDS=y CONFIG_LIDS_NET_MAX_TRIES=3 CONFIG_LIDS_NET_TIMEOUT=30 CONFIG_LIDS_MSGQUEUE_SIZE=16 CONFIG_LIDS_MAIL_SCRIPT=y CONFIG_LIDS_DEBUG=y The error message that I receive while compiling the modules is the following: make[2]: Entering directory `/opt/software/linux/security/lids' gcc -D__KERNEL__ -I/opt/software/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /opt/software/linux/include/linux/modversions.h -DKBUILD_BASENAME=lids_cap -c -o lids_cap.o lids_cap.c lids_cap.c:68:9: warning: pasting "": "" and "":lids_cap =%lx, cap_effective=%x,cap=%d,lids_load=%d,lids_local_load=%d\n"" does not give a valid preprocessing token lids_cap.c: In function `lids_cap_log': lids_cap.c:68: warning: dereferencing `void *' pointer lids_cap.c:68: request for member `lids_cap' in something not a structure or union make[2]: *** [lids_cap.o] Error 1 make[2]: Leaving directory `/opt/software/linux/security/lids' make[1]: *** [_modsubdir_lids] Error 2 make[1]: Leaving directory `/opt/software/linux/security' make: *** [_mod_security] Error 2 I have no idea if the issue would have been related, so I've tried with and without the installation of lidstools for lsm before compiling the modules and have gotten the same error both times. Any ideas what could be causing this or possible ways to solve the issue? Thanks a lot Steve Johnson _______________________________________________ linux-security-module mailing list linux-security-moduleat_private http://mail.wirex.com/mailman/listinfo/linux-security-module
This archive was generated by hypermail 2b30 : Thu Apr 18 2002 - 11:12:57 PDT