Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437773 > unrolled thread

Re: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

Started byAndy Lutomirski <luto@amacapital.net>
First post2016-07-06 16:40 +0200
Last post2016-07-06 16:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32) Andy Lutomirski <luto@amacapital.net> - 2016-07-06 16:40 +0200

#1437773 — Re: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)

FromAndy Lutomirski <luto@amacapital.net>
Date2016-07-06 16:40 +0200
SubjectRe: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32)
Message-ID<rRW9A-1Wj-19@gated-at.bofh.it>
On Wed, Jun 29, 2016 at 3:57 AM, Dmitry Safonov <dsafonov@virtuozzo.com> wrote:
> As the task isn't executing at the moment of {GET,SET}REGS,
> return regset that corresponds to code selector, rather than
> value of TIF_IA32 flag.
> I.e. if we ptrace i386 elf binary that has just changed it's
> code selector to __USER_CS, than GET_REGS will return
> full x86_64 register set.

Pedro, I think this will cause gdb to be a little less broken than it
is now.  Am I right?  Will this break anything?

--Andy

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web