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-08-25 06:29:16 +00:00
2006-09-21 04:19:48 +00:00
2005-12-04 02:12:43 +00:00
2006-07-17 21:00:42 +00:00
2006-05-28 22:15:28 +00:00
2006-08-20 10:29:08 +00:00
2006-09-21 04:19:48 +00:00
2006-09-21 04:19:48 +00:00
2006-08-13 23:16:59 +00:00