Received: by mail.netbsd.org (Postfix, from userid 605) id ADFA114A2E5; Tue, 13 Oct 2015 00:24:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C366A14A2F6 for ; Tue, 13 Oct 2015 00:24:36 +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 RA9NQ8ia19pG for ; Tue, 13 Oct 2015 00:24:36 +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 E1FEC14A2E0 for ; Tue, 13 Oct 2015 00:24:35 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C4A4398; Tue, 13 Oct 2015 00:24:35 +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:24:35 +0000 From: "Paul Goyette" Subject: CVS commit: src/sys/kern To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20151013002435.C4A4398@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:24:35 UTC 2015 Modified Files: src/sys/kern: kern_exec.c Log Message: In execve_runproc(), update the p_waited entry for the process being moved to SSTOP state, not for its parent. (It is correct to update the parent's p_nstopchild count.) If the value is not already zero, it could prevent its parent from waiting for the process. Fixes PR kern/50298 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.418 -r1.419 src/sys/kern/kern_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.