I've tried to compile vanilla kernel 2.6.26.3 with grsecurity-2.1.12-2.6.26.3-200808262105 patch applied. While it builds properly on x86_64 on x86 it always gives following error:
- Code: Select all
CC arch/x86/kernel/efi.o
CC arch/x86/kernel/efi_32.o
arch/x86/kernel/efi_32.c: In function 'efi_call_phys_prelog':
arch/x86/kernel/efi_32.c:50: error: 'USER_PGD_PTRS' undeclared (first use in this function)
arch/x86/kernel/efi_32.c:50: error: (Each undeclared identifier is reported only once
arch/x86/kernel/efi_32.c:50: error: for each function it appears in.)
arch/x86/kernel/efi_32.c:58: warning: assignment makes integer from pointer without a cast
arch/x86/kernel/efi_32.c: In function 'efi_call_phys_epilog':
arch/x86/kernel/efi_32.c:67: warning: assignment makes integer from pointer without a cast
make[1]: *** [arch/x86/kernel/efi_32.o] Error 1
make: *** [arch/x86/kernel] Error 2