Date: Wed, 11 Feb 2004 14:06:02 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c sys_process.c Message-ID: <200402112206.i1BM632b047353@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Tested by: "Steven Hartland" <killing AT multiplay.co.uk>
Revision Changes Path
1.221 +1 -0 src/sys/kern/kern_exit.c
1.116 +1 -0 src/sys/kern/sys_process.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402112206.i1BM632b047353>
