Patch for 2.6.20?

Discuss and suggest new grsecurity features

Test works fine for me

Postby dweekly » Tue Mar 27, 2007 6:43 pm

grsecurity-2.1.10-2.6.20.4-200703261947.patch is working just grand for me so far. :)
dweekly
 
Posts: 5
Joined: Tue Feb 20, 2007 4:19 pm

Postby nopjunkie » Sat Mar 31, 2007 9:46 am

with grsecurity-2.1.10-2.6.20.4-200703271911.patch, it dies compiling here:

arch/i386/lib/mmx.c: In function ‘_mmx_memcpy’:
arch/i386/lib/mmx.c:75: error: ‘cr0’ undeclared (first use in this function)
arch/i386/lib/mmx.c:75: error: (Each undeclared identifier is reported only once
arch/i386/lib/mmx.c:75: error: for each function it appears in.)
arch/i386/lib/mmx.c:46: error: invalid lvalue in asm output 0
arch/i386/lib/mmx.c:80: error: invalid lvalue in asm output 0
arch/i386/lib/mmx.c: In function ‘fast_copy_page’:
arch/i386/lib/mmx.c:238: error: ‘cr0’ undeclared (first use in this function)
arch/i386/lib/mmx.c:209: error: invalid lvalue in asm output 0
arch/i386/lib/mmx.c:242: error: invalid lvalue in asm output 0
make[1]: *** [arch/i386/lib/mmx.o] Error 1

unless you have CONFIG_PAX_KERNEXEC enabled

lines 34-36 of arch/i386/lib/mmx.c:
Code: Select all
#ifdef CONFIG_PAX_KERNEXEC
   unsigned long cr0;
#endif


but then line 75 does:
Code: Select all
      ...
      : "=&r" (cr0) : "r" (from) : "ax");


the easy fix is obviously just to enable CONFIG_PAX_KERNEXEC, which is probably what everyone wants anyways.
nopjunkie
 
Posts: 1
Joined: Sat Mar 31, 2007 9:28 am

Postby Raf256 » Tue Apr 10, 2007 5:17 am

Anyone tried 2.6.20.6 yet?
Raf256
 
Posts: 72
Joined: Mon Sep 19, 2005 8:38 pm

Postby Carceru » Sun Apr 22, 2007 1:33 pm

I am running 2.6.20.6 at the moment without any problems. Waiting for 2.6.20.7 :)
Carceru
 
Posts: 12
Joined: Tue Jun 21, 2005 8:24 am

Postby viktor » Mon Apr 23, 2007 12:44 pm

Carceru wrote:I am running 2.6.20.6 at the moment without any problems. Waiting for 2.6.20.7 :)

hmm, i'm using 2.6.21-rc7-git3. waiting for its release for long, i hope grsec will be ready for it soon =))
viktor
 
Posts: 12
Joined: Sun Feb 11, 2007 6:20 am

Postby harrygittens » Mon Apr 23, 2007 5:27 pm

im running 2.6.20.6-grsec. no problems yet.
harrygittens
 
Posts: 21
Joined: Fri Feb 16, 2007 2:20 pm

Previous

Return to grsecurity development