2.6.39.4-series (error)
Posted: 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
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