POSIX specifies that if a processing calling tcsetpgrp() is in the
authormillert <millert@openbsd.org>
Sun, 10 Jul 2016 00:39:31 +0000 (00:39 +0000)
committermillert <millert@openbsd.org>
Sun, 10 Jul 2016 00:39:31 +0000 (00:39 +0000)
commit215f7db8ce9a81f2d50024f8c269cfc7f385f3b1
treebc82a511306919a24c5827e11e586c0390b675fd
parent3b974249645d1c42e81d425cabb594f45360d5f7
POSIX specifies that if a processing calling tcsetpgrp() is in the
background it shall receive SIGTTOU.  Handle TIOCSPGRP like we do
the other tty ioctls that change the terminal.  OK deraadt@ guenther@
sys/kern/tty.c