For "tty" pledges, treat TIOCGPGRP and TIOCGWINSZ like TIOCGETA -
authorderaadt <deraadt@openbsd.org>
Fri, 16 Oct 2015 13:59:58 +0000 (13:59 +0000)
committerderaadt <deraadt@openbsd.org>
Fri, 16 Oct 2015 13:59:58 +0000 (13:59 +0000)
commit0c9061ec44d7a7af2cc68235f8cb79fdf6de82f8
tree85103a61ca611b17178e9d5a0b9b795d8bbda152
parent4497e20808fcf8a7ec1b3b5c697ae9b85db6a4f8
For "tty" pledges, treat TIOCGPGRP and TIOCGWINSZ like TIOCGETA -
returning ENOTTY instead of killing the process.
sys/kern/kern_pledge.c