diff options
author | 1996-11-05 04:49:16 +0000 | |
---|---|---|
committer | 1996-11-05 04:49:16 +0000 | |
commit | 9f500b49a266d54109ce0d3f8176f6f2c9b35a8f (patch) | |
tree | be21df84a7345ba1c1a0c26384244e51e5426dfa /sys/kern/tty.c | |
parent | Correct error returns from tcsetpgrp() aka ioctl(, TIOCSPGRP, ) (diff) | |
download | wireguard-openbsd-9f500b49a266d54109ce0d3f8176f6f2c9b35a8f.tar.xz wireguard-openbsd-9f500b49a266d54109ce0d3f8176f6f2c9b35a8f.zip |
Add more cases that should generate SIGTTOU
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 090c5316f09..1838115eecb 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.14 1996/11/05 04:42:30 tholo Exp $ */ +/* $OpenBSD: tty.c,v 1.15 1996/11/05 04:49:16 tholo Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -642,6 +642,9 @@ ttioctl(tp, cmd, data, flag, p) /* If the ioctl involves modification, hang if in the background. */ switch (cmd) { case TIOCFLUSH: + case TIOCDRAIN: + case TIOCSBRK: + case TIOCCBRK: case TIOCSETA: case TIOCSETD: case TIOCSETAF: |