CVSROOT: /cvs Module name: src Changes by: mill...@cvs.openbsd.org 2016/10/18 06:47:18
Modified files: lib/libc/gen : readpassphrase.c Log message: 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.