Page 1 of 1

2.6.26.6 build fails

PostPosted: Mon Oct 13, 2008 6:29 am
by madcat
These are the errors from a 2.6.26.6 with grsecurity-2.1.12-2.6.26.6-200810112208.patch build:

Code: Select all
arch/x86/kernel/built-in.o: In function `text_poke':
(.text+0x63e0): undefined reference to `MODULES_VADDR'
arch/x86/kernel/built-in.o: In function `text_poke':
(.text+0x63e8): undefined reference to `MODULES_END'
make: *** [vmlinux] Error 1


No problems with previous 2.6.25.5 grsec test patch and there was no configuration changes.
This is my grsec config:

Code: Select all
CONFIG_GRKERNSEC=y
# CONFIG_GRKERNSEC_LOW is not set
# CONFIG_GRKERNSEC_MEDIUM is not set
# CONFIG_GRKERNSEC_HIGH is not set
CONFIG_GRKERNSEC_CUSTOM=y
CONFIG_GRKERNSEC_KMEM=y
CONFIG_GRKERNSEC_IO=y
CONFIG_GRKERNSEC_PROC_MEMMAP=y
CONFIG_GRKERNSEC_BRUTE=y
CONFIG_GRKERNSEC_HIDESYM=y
CONFIG_GRKERNSEC_ACL_HIDEKERN=y
CONFIG_GRKERNSEC_ACL_MAXTRIES=3
CONFIG_GRKERNSEC_ACL_TIMEOUT=30
CONFIG_GRKERNSEC_PROC=y
CONFIG_GRKERNSEC_PROC_USER=y
CONFIG_GRKERNSEC_PROC_ADD=y
CONFIG_GRKERNSEC_LINK=y
CONFIG_GRKERNSEC_FIFO=y
CONFIG_GRKERNSEC_CHROOT=y
CONFIG_GRKERNSEC_CHROOT_MOUNT=y
CONFIG_GRKERNSEC_CHROOT_DOUBLE=y
CONFIG_GRKERNSEC_CHROOT_PIVOT=y
CONFIG_GRKERNSEC_CHROOT_CHDIR=y
CONFIG_GRKERNSEC_CHROOT_CHMOD=y
CONFIG_GRKERNSEC_CHROOT_FCHDIR=y
CONFIG_GRKERNSEC_CHROOT_MKNOD=y
CONFIG_GRKERNSEC_CHROOT_SHMAT=y
CONFIG_GRKERNSEC_CHROOT_UNIX=y
CONFIG_GRKERNSEC_CHROOT_FINDTASK=y
CONFIG_GRKERNSEC_CHROOT_NICE=y
CONFIG_GRKERNSEC_CHROOT_SYSCTL=y
CONFIG_GRKERNSEC_CHROOT_CAPS=y
# CONFIG_GRKERNSEC_AUDIT_GROUP is not set
# CONFIG_GRKERNSEC_EXECLOG is not set
CONFIG_GRKERNSEC_RESLOG=y
CONFIG_GRKERNSEC_CHROOT_EXECLOG=y
# CONFIG_GRKERNSEC_AUDIT_CHDIR is not set
CONFIG_GRKERNSEC_AUDIT_MOUNT=y
# CONFIG_GRKERNSEC_AUDIT_IPC is not set
CONFIG_GRKERNSEC_SIGNAL=y
CONFIG_GRKERNSEC_FORKFAIL=y
# CONFIG_GRKERNSEC_TIME is not set
# CONFIG_GRKERNSEC_PROC_IPADDR is not set
# CONFIG_GRKERNSEC_AUDIT_TEXTREL is not set
CONFIG_GRKERNSEC_EXECVE=y
CONFIG_GRKERNSEC_DMESG=y
# CONFIG_GRKERNSEC_TPE is not set
CONFIG_GRKERNSEC_RANDNET=y
# CONFIG_GRKERNSEC_SOCKET is not set
CONFIG_GRKERNSEC_SYSCTL=y
CONFIG_GRKERNSEC_SYSCTL_ON=y
CONFIG_GRKERNSEC_FLOODTIME=10
CONFIG_GRKERNSEC_FLOODBURST=2



The only *strange* thing is that i DON'T use kernel modules:

Code: Select all
# CONFIG_MODULES is not set


Cheers
Marco

Re: 2.6.26.6 build fails

PostPosted: Mon Oct 13, 2008 8:05 am
by PaX Team
madcat wrote:The only *strange* thing is that i DON'T use kernel modules:
oops, i forgot about non-modular kernels, fixed in the latest test patches.

Re: 2.6.26.6 build fails

PostPosted: Tue Oct 14, 2008 10:00 am
by madcat
I wanted to confirm that the new release (grsecurity-2.1.12-2.6.26.6-200810131006.patch) works well.
Thank you

Marco

Re: 2.6.26.6 build fails

PostPosted: Fri Oct 17, 2008 12:32 am
by slickers
hi,

where can we find the last patch grsecurity-2.1.12-2.6.26.6-200810131006.patch?
can't find it on grsecurity main download page

Re: 2.6.26.6 build fails

PostPosted: Fri Oct 17, 2008 3:42 am
by madcat