Page 1 of 1

grsecurity-2.2.2-3.2.*-*.patch missing 2 includes

PostPosted: Wed Jan 25, 2012 11:48 pm
by x14sg1
Hello,

I believe these 2 files are missing "#include <asm/pgtable.h>"

arch/x86/kernel/cpu/mcheck/winchip.c
arch/x86/kernel/cpu/mcheck/p5.c

Tim

Re: grsecurity-2.2.2-3.2.*-*.patch missing 2 includes

PostPosted: Thu Jan 26, 2012 7:48 am
by PaX Team
x14sg1 wrote:I believe these 2 files are missing "#include <asm/pgtable.h>"
what's the error you're getting?

Re: grsecurity-2.2.2-3.2.*-*.patch missing 2 includes

PostPosted: Thu Jan 26, 2012 5:42 pm
by x14sg1
Hello,

Here they are

CC arch/x86/kernel/cpu/mcheck/winchip.o
arch/x86/kernel/cpu/mcheck/winchip.c: In function 'winchip_mcheck_init':
arch/x86/kernel/cpu/mcheck/winchip.c:27:2: error: implicit declaration of function 'pax_open_kernel'
arch/x86/kernel/cpu/mcheck/winchip.c:29:2: error: implicit declaration of function 'pax_close_kernel'
make[4]: *** [arch/x86/kernel/cpu/mcheck/winchip.o] Error 1
CC arch/x86/kernel/cpu/mcheck/p5.o
arch/x86/kernel/cpu/mcheck/p5.c: In function 'intel_p5_mcheck_init':
arch/x86/kernel/cpu/mcheck/p5.c:53:2: error: implicit declaration of function 'pax_open_kernel'
arch/x86/kernel/cpu/mcheck/p5.c:55:2: error: implicit declaration of function 'pax_close_kernel'
make[4]: *** [arch/x86/kernel/cpu/mcheck/p5.o] Error 1

Re: grsecurity-2.2.2-3.2.*-*.patch missing 2 includes

PostPosted: Thu Jan 26, 2012 8:12 pm
by PaX Team
thanks, i'll fix it in the next patch.

Re: grsecurity-2.2.2-3.2.*-*.patch missing 2 includes

PostPosted: Thu Jan 26, 2012 8:16 pm
by x14sg1
thanks