Messages in this thread | | | From | Roland McGrath <> | Date | Fri, 20 Jan 2012 16:10:34 -0800 | Subject | Re: Compat 32-bit syscall entry from 64-bit task!? |
| |
On Fri, Jan 20, 2012 at 4:07 PM, Denys Vlasenko <vda.linux@googlemail.com> wrote: >> Maybe a bit telling whether it is syscall entry or exit? > > Yes, this one too. This is one of longstanding annoyances > that this information is not exposed.
That is not really "state", it's just which event you want. That is much better addressed by replacing PTRACE_SYSCALL with PTRACE_O_TRACE_SYSCALL_{ENTRY,EXIT} and PTRACE_EVENT_SYSCALL_{ENTRY,EXIT}. Oleg can whip that up for you no problem.
Thanks, Roland
| |