aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-11-06 15:30:38 -0800
committerThomas Gleixner <tglx@apollo.(none)>2007-11-10 04:30:36 +0100
commitfd181c72a3c202a3986bcee7551c0838265aec2a (patch)
treeb07b0a662baaace2c5addfca77b537e1267e8d12 /drivers
parentvoyager: use struct instead of PARAM (diff)
downloadlinux-dev-fd181c72a3c202a3986bcee7551c0838265aec2a.tar.xz
linux-dev-fd181c72a3c202a3986bcee7551c0838265aec2a.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions