Page 1 of 1

grsecurity-2.9.1-3.8.2-201303082043

PostPosted: Fri Mar 08, 2013 11:45 pm
by x14sg1
Hope this doesn't show up twice

Latest patch has two issues

CC drivers/acpi/blacklist.o
drivers/acpi/blacklist.c:196:35: error: conflicting types for 'acpi_osi_dmi_table'
drivers/acpi/blacklist.c:55:29: note: previous declaration of 'acpi_osi_dmi_table' was here
make[2]: *** [drivers/acpi/blacklist.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

CC [M] drivers/video/aty/mach64_cursor.o
drivers/video/aty/mach64_cursor.c: In function 'aty_init_cursor':
drivers/video/aty/mach64_cursor.c:211:2: error: implicit declaration of function 'pax_open_kernel' [-Werror=implicit-function-declaration]
drivers/video/aty/mach64_cursor.c:213:2: error: implicit declaration of function 'pax_close_kernel' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/video/aty/mach64_cursor.o] Error 1
make[2]: *** [drivers/video/aty] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

Thanks

Tim

Re: grsecurity-2.9.1-3.8.2-201303082043

PostPosted: Sat Mar 09, 2013 12:16 am
by x14sg1
After adding an include for the modules to line 10 of #include <asm/pgtable.h>,
I get these also

pc100 (530) /slackware/linux-3.8.2-grsec-smp 53 # make modules
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC [M] drivers/video/aty/mach64_cursor.o
LD [M] drivers/video/aty/atyfb.o
LD [M] drivers/video/aty/radeonfb.o
Building modules, stage 2.
MODPOST 3010 modules
ERROR: "__pax_list_add" [net/sctp/sctp.ko] undefined!
ERROR: "pax_list_del_init" [net/9p/9pnet.ko] undefined!
ERROR: "__pax_list_add" [net/9p/9pnet.ko] undefined!
WARNING: modpost: Found 34996 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Re: grsecurity-2.9.1-3.8.2-201303082043

PostPosted: Sat Mar 09, 2013 12:59 pm
by PaX Team
i'll fix the first two problems in the next patch but i can't reproduce the undefined symbol issue, all of them are already exported for modules...

Re: grsecurity-2.9.1-3.8.2-201303082043

PostPosted: Sun Mar 10, 2013 4:22 pm
by x14sg1
tried grsecurity-2.9.1-3.8.2-201303101356.patch and opened a new post
with the patch name and the issues encountered