ptrace equivalents between freebsd and linux?

John Baldwin jhb at
Wed Feb 7 18:32:00 UTC 2007

On Tuesday 30 January 2007 14:59, Steve Kargl wrote:
> MPICH2 has the ability to use shared memory as one of
> its communication channel.  Unfortuantely, the build
> dies with an error realted to ptrace.  In looking at
> a linux manpage for ptrace, I've identified that the
> linux PTRACE_ATTACH and PTRACE_DETACH are equilavent to
> out PT_ATTACH and PT_DETACH.  The build dies later with 
> a problem with PTRACE_PEEKDATA.  Is our PT_READ_D the
> right equivalent?

Most likely.

John Baldwin

More information about the freebsd-hackers mailing list