patching problems

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

patching problems

Postby sirexar » Tue Aug 13, 2002 4:42 am

i patch my kernel with the command i said below:
patch -p1 <grsecpatc lalala

root@Deathstar:/usr/src/linux-2.4.19# 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
root@Deathstar:/usr/src/linux-2.4.19# cd grsecurity

slackware 8.1
sirexar
 
Posts: 3
Joined: Tue Aug 13, 2002 1:45 am

Postby spender » Tue Aug 13, 2002 5:51 pm

--- 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
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support