grsecurity and sysctrl

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

grsecurity and sysctrl

Postby jaima » Wed Nov 10, 2004 10:38 am

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
jaima
 
Posts: 3
Joined: Wed Oct 06, 2004 2:27 pm

Postby spender » Wed Nov 10, 2004 2:38 pm

Is that a clean 2.6.7 kernel patched with grsec?

-Brad
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby jaima » Wed Nov 10, 2004 4:01 pm

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
jaima
 
Posts: 3
Joined: Wed Oct 06, 2004 2:27 pm


Return to grsecurity support

cron