Received: by mail.netbsd.org (Postfix, from userid 605) id ADF7814A308; Tue, 13 Oct 2015 00:27:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id CD70414A2FA for ; Tue, 13 Oct 2015 00:27:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id x-beF5InU3f4 for ; Tue, 13 Oct 2015 00:27:19 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id D7C3914A2F0 for ; Tue, 13 Oct 2015 00:27:19 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D5D3898; Tue, 13 Oct 2015 00:27:19 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 13 Oct 2015 00:27:19 +0000 From: "Paul Goyette" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20151013002719.D5D3898@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Paul Goyette" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: pgoyette Date: Tue Oct 13 00:27:19 UTC 2015 Modified Files: src/sys/kern: kern_exit.c Log Message: Currently, if a process is exiting and its parent has indicated no intent of reaping the process (nor any other children), the process wil get reparented to init. Since the state of the exiting process at this point is SDEAD, proc_reparent() will not update either the old or new parent's p_nstopchild counters. This change causes both old and new parents to be properly updated. Fixes PR kern/50300 Pullups will be requested for: NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2 To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/sys/kern/kern_exit.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.