use tame "stdio rpath tty", for ttyname(). from Rob Pierce, who chose to
authorderaadt <deraadt@openbsd.org>
Wed, 7 Oct 2015 18:00:06 +0000 (18:00 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 7 Oct 2015 18:00:06 +0000 (18:00 +0000)
commita43819626a9f7b3aee98e3e9311b27b89c0dc5fe
tree66d82b25c8c1a1e3e16bd4f44d22fae9c972a655
parentfd86ef36c9a48fce73d01f22fb1628fdb192b9d0
use tame "stdio rpath tty", for ttyname().  from Rob Pierce, who chose to
do this using ktrace step by step.  not the method i recommend, because
it requires 100% coverage via feature tests.  better to read the code and
understand everything being called, then make decisions.
usr.bin/tty/tty.c