Page 1 of 1

2.6.39.4-series (error)

PostPosted: Mon Aug 15, 2011 12:47 am
by rolan
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

Re: 2.6.39.4-series (error)

PostPosted: Mon Aug 15, 2011 5:29 am
by PaX Team
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.