fsck_ffs has a ^T signal handler which opens /dev/tty late. Hoist that
authorderaadt <deraadt@openbsd.org>
Thu, 15 Oct 2015 03:10:05 +0000 (03:10 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 15 Oct 2015 03:10:05 +0000 (03:10 +0000)
commit3aa8caa7ef15c9cc2217a0eda7c31db24ad91729
tree9ef23fffc898f1251ef4cfaea4e01b16c4456b3f
parent91211a55fce8020781f959b16725fd14f3fe866e
fsck_ffs has a ^T signal handler which opens /dev/tty late.  Hoist that
opening to before the pledge, and cache the fd.
looked over by millert
sbin/fsck_ffs/main.c
sbin/fsck_ffs/utilities.c