Trusted HP-UX Patch from Re: PLEASE TEST snapshots

Damien Miller djm at mindrot.org
Wed Apr 24 09:03:15 EST 2002


On Tue, 23 Apr 2002, Kevin Steves wrote:

> On Tue, 23 Apr 2002, Darren Cole wrote:
> :I checked the patch Tim Rice originally attached.  It works fine for me
> :against the current cvs (maybe twenty minutes old or so).  I would really
> :like to trusted hp-ux working out of the box, so if there is anything I can
> :do to help testing please let me know.
>
> i have a problem with the following.  why is it needed?
>
> +#ifdef TRUSTED_HPUX
> +	/*
> +	 * Took two lines from a patch at:
> +	 *	<http://www.math.ualberta.ca/imaging/snfs/>
> +	 * by John C. Bowman
> +	 * There is some speculation that you could possibly
> +	 * see data loss from this on usenet.  But without
> +	 * this sshd does not exit on logout.
> +	 */
> +	if (s->ttyfd != -1 && c->istate == CHAN_INPUT_OPEN)
> +		chan_read_failed(c);
> +#endif

That is the broken "hang on exit" "fix" which has been explicitly rejected
a number of times in the past.

-d





More information about the openssh-unix-dev mailing list