Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 11:08:17 +1100
From:      Tim Robbins <tjr@freebsd.org>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_exit.c sys_process.c
Message-ID:  <20040212000817.GA96921@cat.robbins.dropbear.id.au>
In-Reply-To: <200402112206.i1BM632b047353@repoman.freebsd.org>
References:  <200402112206.i1BM632b047353@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2004 at 02:06:02PM -0800, Don Lewis wrote:

> truckman    2004/02/11 14:06:02 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_exit.c sys_process.c 
>   Log:
>   When reparenting a process to init, make sure that p_sigparent is
>   set to SIGCHLD.  This avoids the creation of orphaned Linux-threaded
>   zombies that init is unable to reap.  This can occur when the parent
>   process sets its SIGCHLD to SIG_IGN.  Fix a similar situation in the
>   PT_DETACH code.

Ugh. We really need a way to keep all of this Linux-specific code out
of kern/.


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040212000817.GA96921>