Page 1 of 1

kernel configuration problem with 2.4.19 and grsec 1.9.6

PostPosted: Sun Aug 04, 2002 9:22 am
by dj701
its not a big problem since i can use menuconfig etc.

# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.19/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk

grsecurity/Config.in: 21: unknown command

make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.19/scripts'
make: *** [xconfig] Error 2

PostPosted: Sun Aug 04, 2002 8:59 pm
by spender
--- Config.in.old Sun Aug 4 20:51:39 2002
+++ Config.in Sun Aug 4 20:51:55 2002
@@ -18,7 +18,7 @@
define_bool CONFIG_GRKERNSEC_PROC n
define_bool CONFIG_GRKERNSEC_PROC_MEMMAP n
define_bool CONFIG_GRKERNSEC_CHROOT_CAPS n
-define bool CONFIG_GRKERNSEC_KSYMS n
+define_bool CONFIG_GRKERNSEC_KSYMS n
define_bool CONFIG_GRKERNSEC_PROC_USERGROUP n
define_bool CONFIG_GRKERNSEC_KMEM n
define_bool CONFIG_GRKERNSEC_PROC_ADD n
@@ -95,7 +95,7 @@
define_bool CONFIG_GRKERNSEC_PROC y
define_bool CONFIG_GRKERNSEC_PROC_USERGROUP y
define_int CONFIG_GRKERNSEC_PROC_GID 10
-define bool CONFIG_GRKERNSEC_KSYMS y
+define_bool CONFIG_GRKERNSEC_KSYMS y
define_bool CONFIG_GRKERNSEC_PAX_RANDMMAP y
fi
if [ "$CONFIG_GRKERNSEC_HI" = "y" ]; then
@@ -140,7 +140,7 @@
define_bool CONFIG_GRKERNSEC_CHROOT_FCHDIR y
define_bool CONFIG_GRKERNSEC_CHROOT_CHMOD y
define_bool CONFIG_GRKERNSEC_CHROOT_NICE y
-define bool CONFIG_GRKERNSEC_KSYMS y
+define_bool CONFIG_GRKERNSEC_KSYMS y
define_bool CONFIG_GRKERNSEC_PAX_RANDMMAP y
if [ "$CONFIG_X86" = "y" ]; then
define_bool CONFIG_GRKERNSEC_PAX y