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

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

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

Postby x14sg1 » Wed Jan 25, 2012 11:48 pm

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
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

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

Postby PaX Team » Thu Jan 26, 2012 7:48 am

x14sg1 wrote:I believe these 2 files are missing "#include <asm/pgtable.h>"
what's the error you're getting?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

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

Postby x14sg1 » Thu Jan 26, 2012 5:42 pm

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
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm

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

Postby PaX Team » Thu Jan 26, 2012 8:12 pm

thanks, i'll fix it in the next patch.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

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

Postby x14sg1 » Thu Jan 26, 2012 8:16 pm

thanks
x14sg1
 
Posts: 137
Joined: Sun Aug 23, 2009 7:47 pm


Return to grsecurity support

cron