Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/linux/arch/i386



On Sun, Oct 26, 2008 at 11:02:14AM +0000, Andrew Doran wrote:
> 
> Module Name:  src
> Committed By: ad
> Date:         Sun Oct 26 11:02:14 UTC 2008
> 
> Modified Files:
>       src/sys/compat/linux/arch/i386: linux_exec_machdep.c
> 
> Log Message:
> Assert that the segment descriptors we generate for TLS will not allow
> privilege elevation.

That may work for src/sys/lkm but a kernel build breaks with this change:

/src/sys/compat/linux/arch/i386/linux_exec_machdep.c: In function 
'linux_init_thread_area':
/src/sys/compat/linux/arch/i386/linux_exec_machdep.c:179: error: 'struct 
segment_descriptor' has no member named 'd_type'
/src/sys/compat/linux/arch/i386/linux_exec_machdep.c:179: error: 'struct 
segment_descriptor' has no member named 'd_type'
/src/sys/compat/linux/arch/i386/linux_exec_machdep.c: In function 
'linux_sys_set_thread_area':
/src/sys/compat/linux/arch/i386/linux_exec_machdep.c:264: error: 'struct 
segment_descriptor' has no member named 'd_type'
/src/sys/compat/linux/arch/i386/linux_exec_machdep.c:264: error: 'struct 
segment_descriptor' has no member named 'd_type'
*** Error code 1

Bernd



Home | Main Index | Thread Index | Old Index