From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 7 18:32:00 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BD5416A401 for ; Wed, 7 Feb 2007 18:32:00 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id C424813C494 for ; Wed, 7 Feb 2007 18:31:59 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id l17IVsGP080689; Wed, 7 Feb 2007 13:31:57 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Wed, 7 Feb 2007 13:23:11 -0500 User-Agent: KMail/1.9.1 References: <20070130195917.GA7585@troutmask.apl.washington.edu> In-Reply-To: <20070130195917.GA7585@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702071323.11545.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 07 Feb 2007 13:31:58 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2533/Wed Feb 7 09:20:47 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Steve Kargl Subject: Re: ptrace equivalents between freebsd and linux? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2007 18:32:00 -0000 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