From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 15 08:57:57 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A1AE1065672 for ; Tue, 15 Feb 2011 08:57:57 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8198FC15 for ; Tue, 15 Feb 2011 08:57:56 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p1F8WPmF065990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Feb 2011 10:32:25 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p1F8WPff075459; Tue, 15 Feb 2011 10:32:25 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p1F8WPc4075458; Tue, 15 Feb 2011 10:32:25 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 15 Feb 2011 10:32:25 +0200 From: Kostik Belousov To: freebsd-bugs@freebsd.org, freebsd-emulation@freebsd.org Message-ID: <20110215083225.GX78089@deviant.kiev.zoral.com.ua> References: <201102150011.p1F0Bbn8022522@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jaAa33DYgKWagIMk" Content-Disposition: inline In-Reply-To: <201102150011.p1F0Bbn8022522@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Subject: Re: bin/150262: [patch] truss(1) -f doesn't follow descendants of the linux process X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2011 08:57:57 -0000 --jaAa33DYgKWagIMk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 15, 2011 at 12:11:37AM +0000, arundel@freebsd.org wrote: > Synopsis: [patch] truss(1) -f doesn't follow descendants of the linux pro= cess >=20 > Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation > Responsible-Changed-By: arundel > Responsible-Changed-When: Tue Feb 15 00:10:50 UTC 2011 > Responsible-Changed-Why:=20 > Assign to people who might have an opinion about this PR. >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D150262 The patch would improve the current operations of truss(1), but the handling of new process creation in truss is very racy. We should teach it to use PT_FOLLOW_FORK and ptrace_lwpinfo.pl_child_pid. --jaAa33DYgKWagIMk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1aOhgACgkQC3+MBN1Mb4iu/wCeNFMbBFjay3kdC4ngcrGI6nFC cB4AoPSFljtz+Dn+5bcWFYMCdjuWQwpH =QtGT -----END PGP SIGNATURE----- --jaAa33DYgKWagIMk--