ptrace equivalents between freebsd and linux?

Steve Kargl sgk at troutmask.apl.washington.edu
Tue Jan 30 20:01:14 UTC 2007


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?

-- 
Steve


More information about the freebsd-hackers mailing list