Martin Blapp 153c21c8c1 If /dev/tty gets opened after your controlling terminal has been revoked
you can't call tty_clone afterwords. OpenBSD and NetBSD both fail the
open call in that case, so we should do so as well. This can
be done in ctty_clone by returning with *dev==NULL. Admittedly this
causes open to return ENOENT, instead of ENXIO as on the other BSDs,
but this way requires the least touching of code.

Submitted by:  Nate Eldredge <nge@cs.hmc.edu>
PR:            83375

MFC:           1 week
2006-09-23 14:44:14 +00:00
..
2006-09-23 00:27:53 +00:00
2006-09-22 22:11:29 +00:00
2006-09-15 10:44:55 +00:00
2006-05-26 13:54:27 +00:00
2006-09-22 22:11:29 +00:00
2006-09-22 22:11:29 +00:00
2006-09-15 11:01:23 +00:00
2006-09-22 22:11:29 +00:00
2006-09-03 22:24:08 +00:00