hang on exit

Frank Cusack fcusack at fcusack.com
Wed Jun 5 13:17:07 EST 2002


On Wed, Feb 13, 2002 at 11:21:29PM +0100, Markus Friedl wrote:
> On Wed, Feb 13, 2002 at 01:51:53PM -0800, Frank Cusack wrote:
> > > all other patches did discard data for the non-pty case, too, and this
> > > is not acceptible.
> > 
> > Ahh, that is a notable distinction.  What does openbsd do for the non-pty
> > case?
> 
> for the non-pty case ssh blocks (on OpenBSD, too), like rsh does.
> 
> > Neither do I.  I just rewrote a bunch of scripts used locally to explicitly
> > redirect /dev/null for fd {0,1,2}, which seems more correct, IMHO.  I'll
> > put this patch into production and give some feedback in a month or so.

The patch earlier in this thread has been working very well, I think
it should go into cvs.  I still have a problem with buggy programs
that fork and leave open fd's so I am forced to be more aggressive,
but I don't think that should be in the distro.

/fc




More information about the openssh-unix-dev mailing list