From owner-freebsd-current@FreeBSD.ORG Wed Apr 4 12:16:04 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90E5216A402 for ; Wed, 4 Apr 2007 12:16:04 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.freebsd.org (Postfix) with ESMTP id 59FFB13C448 for ; Wed, 4 Apr 2007 12:16:04 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8F5A01CC5C; Wed, 4 Apr 2007 14:16:02 +0200 (CEST) Date: Wed, 4 Apr 2007 14:16:02 +0200 From: Ed Schouten To: Howard Su Message-ID: <20070404121602.GI14608@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ISKrrfpKsPiF35CV" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.14 (2007-02-12) Cc: current@freebsd.org Subject: Re: [Review] Remove procfs dependency of truss X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 12:16:04 -0000 --ISKrrfpKsPiF35CV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Howard Su wrote: > Following the suggestion in idea page, I proposed the attached patch. > I didn't change any kernel part because I think PTRACE(2) is > functional although man page didn't document it. Indeed. Looking at sys/ptrace.h, there are a lot of instructions that aren't documented in the manpage: - PT_GETNUMLWPS - PT_GETLWPLIST - PT_CLEARSTEP - PT_SETSTEP - PT_SUSPEND - PT_RESUME - PT_TO_SCE - PT_TO_SCX - PT_SYSCALL - PT_FIRSTMACH --=20 Ed Schouten WWW: http://g-rave.nl/ --ISKrrfpKsPiF35CV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGE5cC52SDGA2eCwURAuklAJ9SylOdocEjchP4r3dxggjgMAEbxQCeP49u VY/81jsvE357xbv0EJZAqPM= =daN0 -----END PGP SIGNATURE----- --ISKrrfpKsPiF35CV--