Messages in this thread | | | From | Denys Vlasenko <> | Subject | Re: Compat 32-bit syscall entry from 64-bit task!? | Date | Thu, 26 Jan 2012 02:22:44 +0100 |
| |
On Thursday 26 January 2012 02:08, Jamie Lokier wrote: > Indan Zupancic wrote: > > > (2) syscall exit compat-ness is known from entry type - no need to indicate it; and > > > (3) if we would flag syscall entry with an event value in wait status, then syscall > > > exit will be already distinquisable. > > > > False for execve which messes everything up by changing TID sometimes. > > Is it disambiguated by PTRACE_EVENT_EXEC happening before the execve > returns, and you knowing the TID always changes to the PID? I haven't > yet checked which TID gets the PTRACE_EVENT_EXEC event,
tid change happens before PTRACE_EVENT_EXEC event generation.
-- vda
| |