Date: Tue, 15 Feb 2011 10:32:25 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: freebsd-bugs@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: bin/150262: [patch] truss(1) -f doesn't follow descendants of the linux process Message-ID: <20110215083225.GX78089@deviant.kiev.zoral.com.ua> In-Reply-To: <201102150011.p1F0Bbn8022522@freefall.freebsd.org> References: <201102150011.p1F0Bbn8022522@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110215083225.GX78089>