2.6.39.4-series (error)

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

2.6.39.4-series (error)

Postby rolan » Mon Aug 15, 2011 12:47 am

Slackware current (atom/32 bit)

every 2.6.39.4-series grsecurity patch (up to grsecurity-2.2.2-2.6.39.4-201108141242.patch) gives something ("assignment of read-only member ‘lock’") like:

make
...
In file included from /usr/src/linux-2.6.39.4/arch/x86/include/asm/uaccess.h:11:0,
from include/linux/uaccess.h:5,
from include/linux/crypto.h:26,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/sched.h: In function ‘thread_group_cputime_init’:
include/linux/sched.h:2579:2: error: assignment of read-only member ‘lock’
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
rolan
 
Posts: 16
Joined: Mon Aug 15, 2011 12:23 am

Re: 2.6.39.4-series (error)

Postby PaX Team » Mon Aug 15, 2011 5:29 am

rolan wrote:Slackware current (atom/32 bit)

every 2.6.39.4-series grsecurity patch (up to grsecurity-2.2.2-2.6.39.4-201108141242.patch) gives something ("assignment of read-only member ‘lock’") like:
this bug manifests when you have !SMP, so until we fix it just enable SMP support in your config.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support