From owner-freebsd-bugs Wed Jan 23 0:50: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D1ADE37B405 for ; Wed, 23 Jan 2002 00:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0N8o1O88271; Wed, 23 Jan 2002 00:50:01 -0800 (PST) (envelope-from gnats) Date: Wed, 23 Jan 2002 00:50:01 -0800 (PST) Message-Id: <200201230850.g0N8o1O88271@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Maxim Konovalov Subject: Re: misc/34195: setting the action for SIGCHLD to SIG_IGN will create zombies Reply-To: Maxim Konovalov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/34195; it has been noted by GNATS. From: Maxim Konovalov To: Ali Imran Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/34195: setting the action for SIGCHLD to SIG_IGN will create zombies Date: Wed, 23 Jan 2002 11:42:11 +0300 (MSK) Hello, [...] > >Description: > Single UNIX Specification Version 2 states that: > .. > If the action for the SIGCHLD signal is set > to SIG_IGN, child processes of the calling > processes will not be transformed into zombie > processes when they terminate. If the calling > .. > However FreeBSD creates zombies. > > I don't know if this is "traditional" BSD > beahvior and considered a "feature" and not > a bug. Yes, it is a traditional BSD way. JFYI, there was an attempt to commit the SIGCHLD SIG_IGN signal handlin code, it was MFCed to -stable and then backed out from -stable and -current. Please take a look at http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/kern_exit.c for more details. -- Maxim Konovalov, MAcomnet, Internet-Intranet Dept., system engineer phone: +7 (095) 796-9079, mailto: maxim@macomnet.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message