On Tue, Jul 14, 2009 at 09:53:00AM +0300, Shachar Shemesh wrote: > Yes, I have, and the last sentence in the relevant paragraph from the > ptrace(2) manual page scares me no end: > > PTRACE_O_TRACESYSGOOD (since Linux 2.4.6) > > When delivering syscall traps, set bit 7 in > >the signal number (i.e., deliver (SIGTRAP | 0x80) This makes > > it easy for the tracer to tell the difference > >between normal traps and those caused by a syscall. > > (PTRACE_O_TRACESYSGOOD may not work on all > >architectures.)
The man page is pretty old. It should work everywhere nowadays. -- Daniel Jacobowitz CodeSourcery