aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2015-02-24 19:01:39 -0500
committerIngo Molnar <mingo@kernel.org>2015-02-25 02:27:50 -0500
commit72c6fb4f74b6b3797f5b1abd6944d7a1d2adbf04 (patch)
treec3d6cf7e1f69916cca017cebc7ea45297079476e /scripts/gdb/linux/utils.py
parent08571f1ae327bfb631cb7171bde5ea605df626c6 (diff)
x86/ia32-compat: Fix CLONE_SETTLS bitness of copy_thread()
CLONE_SETTLS is expected to write a TLS entry in the GDT for 32-bit callers and to set FSBASE for 64-bit callers. The correct check is is_ia32_task(), which returns true in the context of a 32-bit syscall. TIF_IA32 is set if the task itself has a 32-bit personality, which is not the same thing. Signed-off-by: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Denys Vlasenko <dvlasenk@redhat.com> Link: http://lkml.kernel.org/r/45e2d0d695393d76406a0c7225b82c76223e0cc5.1424822291.git.luto@amacapital.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions