Re: Compat 32-bit syscall entry from 64-bit task!?

From: Roland McGrath
Date: Fri Jan 20 2012 - 19:11:02 EST


On Fri, Jan 20, 2012 at 4:07 PM, Denys Vlasenko
<vda.linux@xxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/