From owner-freebsd-commit Thu Dec 28 14:19:12 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA04209 for freebsd-commit-outgoing; Thu, 28 Dec 1995 14:19:12 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA04198 for cvs-all-outgoing; Thu, 28 Dec 1995 14:19:06 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA04187 for cvs-lib-outgoing; Thu, 28 Dec 1995 14:19:03 -0800 (PST) Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA04180 Thu, 28 Dec 1995 14:18:55 -0800 (PST) Received: from localhost.shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.3/8.6.12) with SMTP id OAA12618; Thu, 28 Dec 1995 14:18:15 -0800 (PST) Message-Id: <199512282218.OAA12618@precipice.shockwave.com> To: "Garrett A. Wollman" cc: Joerg Wunsch , CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/gen getpass.c In-reply-to: Your message of "Thu, 28 Dec 1995 13:06:19 EST." <9512281806.AA23043@halloran-eldar.lcs.mit.edu> Date: Thu, 28 Dec 1995 14:18:15 -0800 From: Paul Traina Sender: owner-commit@FreeBSD.ORG Precedence: bulk Two points: (a) you two just changed the semantics of this routine, you need to check all of the callers to make sure THEY block SIGINT and SIGTSTP. (b) This is a bad idea if you use ^C or ^Z as part of your password, which was legal. Paul From: "Garrett A. Wollman" Subject: cvs commit: src/lib/libc/gen getpass.c <>bsd.org> said: > joerg 95/12/27 15:23:01 > Modified: lib/libc/gen getpass.c > Log: > Don't block SIGINT in getpass(3); this doesn't make sense. It shouldn't block SIGTSTP, either. (The calling program should if it's important.) This is very obnoxious when I'm on a text console attempting to FTP somewhere using S/Key, since it is impossible to suspend ftp while it's prompting for a password. Under OSF/1, it works. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance >>. Opinions not those of| It is a bond more powerful than absence. We like peop >>le MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollan >>t