From owner-freebsd-standards@FreeBSD.ORG Thu Apr 16 12:50:03 2009 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51B161065702 for ; Thu, 16 Apr 2009 12:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF398FC20 for ; Thu, 16 Apr 2009 12:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3GCo3C5064226 for ; Thu, 16 Apr 2009 12:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3GCo3YX064225; Thu, 16 Apr 2009 12:50:03 GMT (envelope-from gnats) Date: Thu, 16 Apr 2009 12:50:03 GMT Message-Id: <200904161250.n3GCo3YX064225@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: standards/108390: [libc] [patch] wait4() erroneously waits for all children when SIGCHLD is SIG_IGN [regression] X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 12:50:04 -0000 The following reply was made to PR standards/108390; it has been noted by GNATS. From: Gavin Atkinson To: bug-followup@FreeBSD.org Cc: Subject: Re: standards/108390: [libc] [patch] wait4() erroneously waits for all children when SIGCHLD is SIG_IGN [regression] Date: Thu, 16 Apr 2009 13:45:44 +0100 Results from supplied test script on Solaris 10: default SIGCHLD 1239885904 2692 P spawned running child 1239885904 2693 C1 Long child sleeping 1239885904 2692 P spawned short running child; waitpid 1239885904 2694 C2 short child: exiting immediately 1239885904 2692 P short child finished 1239885904 2692 P waiting for long running child 1239885914 2693 C1 Long exiting 1239885914 2692 P long child finished. End of test. IGNORE SIGCHLD 1239885914 2692 P spawned running child 1239885914 2695 C1 Long child sleeping 1239885914 2692 P spawned short running child; waitpid 1239885914 2696 C2 short child: exiting immediately 1239885914 2692 P short child finished 1239885914 2692 P waiting for long running child 1239885924 2695 C1 Long exiting 1239885924 2692 P long child finished. End of test. Results from Linux (Ubuntu 8.10): default SIGCHLD 1239885858 2057 P spawned running child 1239885858 2058 C1 Long child sleeping 1239885858 2059 C2 short child: exiting immediately 1239885858 2057 P spawned short running child; waitpid 1239885858 2057 P short child finished 1239885858 2057 P waiting for long running child 1239885868 2058 C1 Long exiting 1239885868 2057 P long child finished. End of test. IGNORE SIGCHLD 1239885868 2057 P spawned running child 1239885868 2060 C1 Long child sleeping 1239885868 2061 C2 short child: exiting immediately 1239885868 2057 P spawned short running child; waitpid 1239885868 2057 P short child finished 1239885868 2057 P waiting for long running child 1239885878 2060 C1 Long exiting 1239885878 2057 P long child finished. End of test.