diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-10-19 03:26:09 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-10-19 03:26:09 +1100 |
commit | 8f866d8a57b9a2dc5dd04504e27f593b551618e3 (patch) | |
tree | 06f7dcbec815809281ebcca61c006644536f404b /openbsd-compat/strtoull.c | |
parent | f901440cc844062c9bab0183d133f7ccc58ac3a5 (diff) |
Import readpassphrase.c rev 1.26.
Author: miller@openbsd.org:
Avoid generate SIGTTOU when restoring the terminal mode. If we get
SIGTTOU it means the process is not in the foreground process group
which, in most cases, means that the shell has taken control of the tty.
Requiring the user the fg the process in this case doesn't make sense
and can result in both SIGTSTP and SIGTTOU being sent which can lead to
the process being suspended again immediately after being brought into
the foreground.
Diffstat (limited to 'openbsd-compat/strtoull.c')
0 files changed, 0 insertions, 0 deletions