Re: syscall_get_error() && TS_ checks
From: Linus Torvalds
Date: Thu Mar 30 2017 - 15:29:34 EST
On Thu, Mar 30, 2017 at 12:21 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>
> Huh? Aren't those REX prefixes interpreted as INC instructions or
> similar in compat mode?
Hmm. I think you're right. So it's not like x32 that runs in long mode
but then would use the 64-bit ptrace interface anyway.
Your statement that 64-bit gdb sometimes uses 32-bit compat ptrace
makes me shudder. Why?
Don't even tell me. I suspect I'm happier not knowing.
Linus