Where has GETSIGINFO gone?

Daniel Jacobowitz drow at false.org
Tue Jul 14 13:01:37 UTC 2009


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




More information about the utrace-devel mailing list