summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/cclass.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2016-10-18 12:47:18 +0000
committermillert <millert@openbsd.org>2016-10-18 12:47:18 +0000
commit1c3558a93fb16f41866b71820f4c5389eb1b457c (patch)
tree6ea60c638aecff1786859595f01243d2c6f872a6 /lib/libc/regex/cclass.h
parentInstall a signal handler for tty-generated signals and wait for the (diff)
downloadwireguard-openbsd-1c3558a93fb16f41866b71820f4c5389eb1b457c.tar.xz
wireguard-openbsd-1c3558a93fb16f41866b71820f4c5389eb1b457c.zip
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 'lib/libc/regex/cclass.h')
0 files changed, 0 insertions, 0 deletions