From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 30 20:01:14 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 9168D16A400 for ; Tue, 30 Jan 2007 20:01:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 6020C13C4A3 for ; Tue, 30 Jan 2007 20:01:14 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.8/8.13.8) with ESMTP id l0UJxLli007627 for ; Tue, 30 Jan 2007 11:59:21 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.8/8.13.8/Submit) id l0UJxHt2007626 for freebsd-hackers@freebsd.org; Tue, 30 Jan 2007 11:59:17 -0800 (PST) (envelope-from sgk) Date: Tue, 30 Jan 2007 11:59:17 -0800 From: Steve Kargl To: freebsd-hackers@freebsd.org Message-ID: <20070130195917.GA7585@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: 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: Tue, 30 Jan 2007 20:01:14 -0000 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