From owner-svn-src-head@FreeBSD.ORG Mon Jun 1 18:50:10 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0C866D8; Mon, 1 Jun 2015 18:50:10 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 999F0160F; Mon, 1 Jun 2015 18:50:10 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from zeta.ixsystems.com (c-71-202-112-39.hsd1.ca.comcast.net [71.202.112.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 10DA14183; Mon, 1 Jun 2015 11:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1433184610; x=1433199010; bh=LfaqG7dkeaoMreLINOJrCKxxTggLHfC+oLL9JQQcD4o=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=TtjfbGYrl/iKjn1elksMxfgwS9pMcyVFVhdmAGjMwzzb/Avfq6VjtH2hTNmCkAJdD yec+AcaY8D1apVh6s76iEtheiucj3nE4EaERNbk5CsypGmJEMigiTVIL4llEPFIANI zPlM7kfBHeMztJ3IbPAcCU0iPzoHvJFG6bzJh2S4= Message-ID: <556CA960.3040607@delphij.net> Date: Mon, 01 Jun 2015 11:50:08 -0700 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: John Baldwin , Xin LI CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r283889 - head/sys/kern References: <201506011815.t51IFkPv027540@svn.freebsd.org> <3091869.VXHGj8nhqT@ralph.baldwin.cx> In-Reply-To: <3091869.VXHGj8nhqT@ralph.baldwin.cx> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 18:50:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 06/01/15 11:25, John Baldwin wrote: > On Monday, June 01, 2015 06:15:46 PM Xin LI wrote: >> Author: delphij Date: Mon Jun 1 18:15:45 2015 New Revision: >> 283889 URL: https://svnweb.freebsd.org/changeset/base/283889 >> >> Log: Clear p_stops when doing PT_DETACH. >> >> Without this, if a process was being traced by truss(1), which >> uses different p_stops bits than gdb(1), the latter would >> misbehave because of the unexpected bits. > > Please also clear this for procfs detach as well. Good catch! Fixed in r283891. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1.4 (FreeBSD) iQIcBAEBCgAGBQJVbKlgAAoJEJW2GBstM+nsDvoP/0GHrHvneR2hhVogwz9uyEUE EAaxfbVtPmEw4pnvlK1spFJIJnVwlAIRMH2i+3xWiUChpYkJNCui9HMXI9G8pI/p DkPgG6XTGD7IedU17Yq0NnbaE6y9WEkTl6AR+UJY27EAohKuZgziWO3Q/npe7J4s 4LPEWmV7F2fXWxAaOaIisg+sKOhh/hJi89IlIhvpPnE9D5JmUo4uIzWZPtmxLg/u Q9dwVZCxgXN1k4Pi46eibqQGGdielNTDR7aWzi3j/fE+OmlnJWQWe9bKDOFuCgpK yzwfru7FmqnfYyfkxyfg5teFh70Y/9bunzcWWAfdRZIcnhOlwEbXuK/CCpesiuoI SPhjo9KXjpzevJoLIr+QgduQ6/FxJmgf1i44ruCATLlZ+7v/OkdQazwXY4gUPZId J/UwdC57sFTiVGVHvR94h7S/Tu1f1OHHdOi0ZKUOVqavQrtdntvR74UX29jCmOP+ 5MJx8LOKZSDoaCRrdvCA0I2XFjirW3xJvpRer3DWm+i/deNKGbBhgaKDpn/bqgQg BVROwLUdxwBJ9ES4VzCpoNZBnHRdEfFdGGvGnFFcdKC3rKqd4Gn54Y/JgiFvEct0 zW1yVsiVurVtPocBIg1aHeEe/qEHsLIEHSe7n1Y2WxyZkh0HIKXco77H1HptW1sv bZAI2tXsjktB+8pT+dmB =MUGS -----END PGP SIGNATURE-----