Re: FreeBSD getpass "feature"

Guido van Rooij (Guido.vanRooij@NL.CIS.PHILIPS.COM)
Thu, 26 Feb 1998 09:09:32 +0100

Brian Macke wrote:
> I just verified this on our servers... it appears to only affect the 2.2
> series kernel, and not 2.1 and lower. For 2.1, even with multiple intr's,
> it will not echo the password.
>
> Did Guido have any ideas on what changed in the 2.2 series to warrant
> this?

Yes. See the cvs log on www.freebsd.org:
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/getpass.c
You want to look at rev 1.4

It was broken in an attempt to have proper signal handling in getpass().

-Guido