[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay
Damien Miller
djm at mindrot.org
Fri Nov 16 10:08:53 EST 2001
On Thu, 15 Nov 2001, Nicolas Williams wrote:
> > No. A program could have done setsid() and started a new process
> > group - think of daemons that do all that daemons should do, but forget
> > to close stderr (because of stupid programming bugs in binary-only
> > software - whatever "not easily fixable" reason there might be).
>
> Of course, yes, but such programs usually dissasociate from their
> controlling tty too.
>
> Even if they don't, killing those process groups is *still* worthwhile.
I think I tried sending HUPs to the process group sometime around 2.3.0,
it didn't help for some reason - but I don't remember why.
-d
--
| By convention there is color, \\ Damien Miller <djm at mindrot.org>
| By convention sweetness, By convention bitterness, \\ www.mindrot.org
| But in reality there are atoms and space - Democritus (c. 400 BCE)
More information about the openssh-unix-dev
mailing list