From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 1 16:50:23 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFEAF16A400 for ; Thu, 1 Feb 2007 16:50:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD9313C4B2 for ; Thu, 1 Feb 2007 16:50:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l11GoNva008084 for ; Thu, 1 Feb 2007 16:50:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l11GoNWa008083; Thu, 1 Feb 2007 16:50:23 GMT (envelope-from gnats) Date: Thu, 1 Feb 2007 16:50:23 GMT Message-Id: <200702011650.l11GoNWa008083@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alan Ferrency Cc: Subject: Re: kern/108390: wait4() erroneously waits for all children when SIGCHLD is SIG_IGN X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alan Ferrency List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 16:50:23 -0000 The following reply was made to PR kern/108390; it has been noted by GNATS. From: Alan Ferrency To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/108390: wait4() erroneously waits for all children when SIGCHLD is SIG_IGN Date: Thu, 1 Feb 2007 11:42:17 -0500 (EST) I apologize: This should read "ECHILD", errno 10. > I modified my test script to output the return value and errno of the > failing wait4() call, and it verifies that when waiting too long for the > short-running process, wait4() is returning with ENOCHLD (no child > processes) and not because it received notification of a child process > exiting. Alan