A question about ptrace

Ali Polatel alip at exherbo.org
Sat Jan 16 19:12:42 UTC 2010

Ali Polatel yazmış:
> I'm trying to port a program using ptrace from Linux to FreeBSD.


Answering myself after some more reading and trying...

>         assert(0 == ptrace(PT_TO_SCE, pid, 0, 0));

The third argument of this call should be 1 not 0.

Ali Polatel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100116/ea45f7bf/attachment.pgp

More information about the freebsd-questions mailing list