summaryrefslogtreecommitdiff
path: root/libexec/login_reject
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-06 05:20:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-06 05:20:51 +0000
commit7379aa77a00dba03363eb1419cf4ae4e335d830f (patch)
treed25422615b4827ef97a3324391a69a262e06baec /libexec/login_reject
parent8674f2f60e0970e494f3a26da350e24a135ec756 (diff)
Fix a long standing annoyance with getpass/readpassphrase. Instead of
blocking SIGINT and SIGTSTP, catch them (along with SIGHUP, SIGQUIT, SIGTERM). We restore the tty mode as needed and then restore the original signal handler and resend the signal. For SIGTSTP, upon return from suspend the user is re-prompted for the passphrase.
Diffstat (limited to 'libexec/login_reject')
0 files changed, 0 insertions, 0 deletions