From owner-cvs-src@FreeBSD.ORG Tue Jul 25 06:22:54 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AA1316A4DE; Tue, 25 Jul 2006 06:22:54 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A4943D45; Tue, 25 Jul 2006 06:22:53 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 1FF932085; Tue, 25 Jul 2006 08:22:49 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 8B9CA2082; Tue, 25 Jul 2006 08:22:48 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 62BCA33C31; Tue, 25 Jul 2006 08:22:48 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: John Baldwin References: <200607210845.k6L8j0Ep026008@repoman.freebsd.org> <20060724000259.GE16230@wantadilla.lemis.com> <20060724130731.D44945@fledge.watson.org> <200607241342.38412.jhb@freebsd.org> Date: Tue, 25 Jul 2006 08:22:47 +0200 In-Reply-To: <200607241342.38412.jhb@freebsd.org> (John Baldwin's message of "Mon, 24 Jul 2006 13:42:37 -0400") Message-ID: <86hd16gq4o.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Tom Rhodes , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, Robert Watson , Greg 'groggy' Lehey , Xin LI Subject: Re: truss status X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 06:22:54 -0000 John Baldwin writes: > Well, the biggest thing I found when doing the PHOLD/P_WEXIT stuff that w= as=20 > missing was PIOCWAIT and PIOCCONT (IIRC). Specifically, we don't current= ly=20 > have any ptrace() equivalent to that. I'm not sure that's a problem. I had at one point a version of truss, rewritten from scratch, that worked with ptrace(). I never committed it because there were issues with attaching to children of the traced process; I tried to get rid of the reparenting stuff by having a debugging hierarchy parallel to the process hierarchy (i.e. each process has a real parent and a debugging parent, instead of the current situation where a debugged process is reparented to the debugging process, which makes it impossible to debug e.g. a shell), this required major changes to exit1() and kern_wait() which I never completed. At some point I accidentally blew away the tree; this was before we had Perforce, and I had no backup. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no