1
linux/arch/x86/ia32
Roland McGrath fd181c72a3 x86_64: ia32 ptrace THREAD_AREA fix
The addr argument to PTRACE_GET_THREAD_AREA and PTRACE_SET_THREAD_AREA is
not a magic constant.  It's derived from the segment register values being
used, which are computed originally from the index used with set_thread_area.
The value does not need to match what a native i386 kernel would accept.
It needs to match the segment selectors that can actually be in use in this
32-bit process.  The 64-bit ptrace support for PTRACE_GET_THREAD_AREA
(normally used only on 32-bit processes) is correct, but the 32-bit emulation
of ptrace is broken.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-11-10 04:30:36 +01:00
..
audit.c
fpu32.c
ia32_aout.c x86: initialize 64bit registers for a.out executables 2007-10-17 20:15:30 +02:00
ia32_binfmt.c x86: Use linux/elfcore-compat.h 2007-10-19 20:35:02 +02:00
ia32_signal.c
ia32entry.S
ipc32.c remove include/asm-*/ipc.h 2007-10-17 08:42:55 -07:00
Makefile x86_64: install unstripped copies of compat vdso on disk 2007-10-17 20:15:18 +02:00
mmap32.c
ptrace32.c x86_64: ia32 ptrace THREAD_AREA fix 2007-11-10 04:30:36 +01:00
sys_ia32.c
syscall32_syscall.S
syscall32.c
tls32.c
vsyscall-sigreturn.S
vsyscall-syscall.S
vsyscall-sysenter.S
vsyscall.lds