Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1437773
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32) |
| Date | 2016-07-06 16:40 +0200 |
| Message-ID | <rRW9A-1Wj-19@gated-at.bofh.it> (permalink) |
| References | <rRVQd-1PF-9@gated-at.bofh.it> <rRW9A-1Wj-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCHv2 5/6] x86/ptrace: down with test_thread_flag(TIF_IA32) Andy Lutomirski <luto@amacapital.net> - 2016-07-06 16:40 +0200
csiph-web