Messages in this thread | | | Date | Tue, 7 Jan 2014 20:12:57 +0100 | From | Oleg Nesterov <> | Subject | Re: [RFC/PATCH] Implement new PTRACE_EVENT_SYSCALL_{ENTER,EXIT} |
| |
On 01/07, Sergio Durigan Junior wrote: > > On Tuesday, January 07 2014, Oleg Nesterov wrote: > > > Finally. If we add this feature, we should probably also report > > is_compat_task() somehow. Currently the debugger can't know if, say, > > a 64bit tracee does int80. > > OK, I will look into it, have no idea how to do that. Suggestions are > welcome, of course.
Well, you can probably encode is_compat_task() in ->ptrace_message along with syscall_get_nr(). But I am not sure about __X32_SYSCALL_BIT in ->orig_ax. Probably we should not clear it and report both bits.
Oleg.q
| |