Page 1 of 1

grsecurity and sysctrl

PostPosted: Wed Nov 10, 2004 10:38 am
by jaima
Hello !

Need some help ....... I am now migrating my system to udev, which needs syscontrol support. So I compiled my kernel with following options:

General Setup
[*] Support for hot-pluggable devices

[*] Sysctl support

and in # Filesystem Protections

CONFIG_GRKERNSEC_CHROOT_SYSCTL=y

and also

CONFIG_SYSCTL = y


BUT I BECOME THIS ERROR MESSAGE


CC kernel/sysctl.o
kernel/sysctl.c:841: error: `KERN_INTERACTIVE' undeclared here (not in a function)
kernel/sysctl.c:841: error: un ?l?ment de l'initialisation n'est pas une constante
kernel/sysctl.c:841: error: (near initialization for `vm_table[14].ctl_name')
kernel/sysctl.c:847: error: un ?l?ment de l'initialisation n'est pas une constante
kernel/sysctl.c:847: error: (near initialization for `vm_table[14]')
kernel/sysctl.c:849: error: `KERN_COMPUTE' undeclared here (not in a function)
kernel/sysctl.c:849: error: un ?l?ment de l'initialisation n'est pas une constante
kernel/sysctl.c:849: error: (near initialization for `vm_table[15].ctl_name')
kernel/sysctl.c:855: error: un ?l?ment de l'initialisation n'est pas une constante
kernel/sysctl.c:855: error: (near initialization for `vm_table[15]')
kernel/sysctl.c:856: error: un ?l?ment de l'initialisation n'est pas une constante
kernel/sysctl.c:856: error: (near initialization for `vm_table[16]')
make[3]: *** [kernel/sysctl.o] Erreur 1
make[2]: *** [kernel] Erreur 2
make[2]: Leaving directory `/usr/src/linux-2.6.7'
make[1]: *** [stamp-build] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.7'
make: *** [stamp-buildpackage] Erreur 2

Who could give help in this case ???

Thanks


jaima

PostPosted: Wed Nov 10, 2004 2:38 pm
by spender
Is that a clean 2.6.7 kernel patched with grsec?

-Brad

PostPosted: Wed Nov 10, 2004 4:01 pm
by jaima
It' s a full tarball of 2.6.7 sources , patched with Con Kolivas 2.6.7-ck6
and grsecurity......

thanks for your answer

jaima