Unify TIOCGPGRP/TIOCGWINSZ/TIOCGWINSZ behaviour regarding ENOTTY return.
authorderaadt <deraadt@openbsd.org>
Sat, 17 Oct 2015 23:01:37 +0000 (23:01 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 17 Oct 2015 23:01:37 +0000 (23:01 +0000)
commitac9ffc7a1e5e75f3798c64c67936ee67042823da
tree6e53b0505bf40550068c242ff30856dfa663c866
parent3611f3d46d5805ecc93fc82c23d215099605a6cd
Unify TIOCGPGRP/TIOCGWINSZ/TIOCGWINSZ behaviour regarding ENOTTY return.
(both "tty" and "ioctl" allow these; they should behave the same)
sys/kern/kern_pledge.c