Page 1 of 1

grsec 1.9.7 k2.4.19 unresolved symbols gr_handle_create

PostPosted: Mon Sep 30, 2002 9:13 am
by tboernert
grsec 1.9.6 k2.4.19 works fine for me
but
grsec 1.9.7 k2.4.19 i get the error
message by installing modules on a rh7.3 box

find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.19-grsec; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.19-grsec/kernel/net/unix/unix.o
depmod: gr_handle_create
depmod: gr_check_create
make: *** [_modinst_post] Error 1

i'm using security level "high".

Thanks for help

Thomas

PostPosted: Mon Sep 30, 2002 3:10 pm
by spender
this will be fixed in 1.9.8

I didn't know it was possible to compile in support for unix domain sockets as a module.

Adding

EXPORT_SYMBOL(gr_check_create);
EXPORT_SYMBOL(gr_handle_create);

to the bottom of net/netsyms.c will fix the problem.

-Brad