Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | x86_64: ia32 ptrace THREAD_AREA fix | Roland McGrath | 2007-11-10 | 1 | -8/+2 |
| | | | | | | | | | | | | | | 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> | ||||
* | x86_64: Fix compat emulation of PTRACE_GET/SET_THREAD_AREA | Andi Kleen | 2007-10-17 | 1 | -2/+8 |
| | | | | | | | | | | | | Since the 64bit kernel has different indexes for this TLS segments the address needs to be adjusted in the ptrace 32bit emulation. [ tglx: arch/x86 adaptation ] Reported-by: Amnon Shiloh Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> | ||||
* | x86_64: move ia32 | Thomas Gleixner | 2007-10-11 | 1 | -0/+404 |
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> |