cvs commit: src/sys/kern kern_exit.c sys_process.c
Tim Robbins
tjr at freebsd.org
Wed Feb 11 16:08:39 PST 2004
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
More information about the cvs-src
mailing list