kernel fails to build with grsec disabled

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

kernel fails to build with grsec disabled

Postby ras » Thu Apr 29, 2004 3:37 pm

I have recently patched a vanilla 2.4.26 kernel with grsec 2.0, and when I try to make bzImage without grsec enabled i get the following:

grsecurity/grsec.o \
/usr/src/linux-2.4.26/arch/i386/lib/lib.a /usr/src/linux-2.4.26/lib/lib.a /usr/src/lin
x-2.4.26/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
kernel/kernel.o(.text+0xb271): In function `sys_setregid':
: undefined reference to `gr_check_group_change'
kernel/kernel.o(.text+0xb308): In function `sys_setgid':
: undefined reference to `gr_check_group_change'
kernel/kernel.o(.text+0xb50b): In function `sys_setreuid':
: undefined reference to `gr_check_user_change'
kernel/kernel.o(.text+0xb68a): In function `sys_setuid':
: undefined reference to `gr_check_user_change'
kernel/kernel.o(.text+0xb8c7): In function `sys_setresuid':
: undefined reference to `gr_check_user_change'
kernel/kernel.o(.text+0xbb57): In function `sys_setresgid':
: undefined reference to `gr_check_group_change'
kernel/kernel.o(.text+0xbcd1): In function `sys_setfsuid':
: undefined reference to `gr_check_user_change'
kernel/kernel.o(.text+0xbdc1): In function `sys_setfsgid':
: undefined reference to `gr_check_group_change'
fs/fs.o(.text+0x9252): In function `compute_creds':
: undefined reference to `gr_check_user_change'
fs/fs.o(.text+0x9284): In function `compute_creds':
: undefined reference to `gr_check_group_change'
make: *** [vmlinux] Error 1
[root@caos linux]# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/linux-2.4.26/scripts/lxdialog'
Your kernel configuration changes were NOT saved./scripts/lxdialog'
/bin/sh scripts/Menuconfig arch/i386/config.in

Has anyone else had this problem?

--ras
ras
 
Posts: 3
Joined: Thu Apr 29, 2004 3:34 pm

Postby ras » Thu Apr 29, 2004 3:53 pm

nevermind it looks like this has been fixed in cvs

http://forums.grsecurity.net/viewtopic.php?t=792

--ras
ras
 
Posts: 3
Joined: Thu Apr 29, 2004 3:34 pm


Return to grsecurity support