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 13:42:09 +00:00
2006-09-21 01:37:02 +00:00
2006-09-05 19:28:03 +00:00
2006-09-21 07:27:02 +00:00
2006-09-16 21:21:07 +00:00
2006-05-16 14:37:58 +00:00
2006-09-23 00:27:53 +00:00
2006-09-22 22:11:29 +00:00
2006-09-18 17:01:35 +00:00
2006-09-15 10:44:55 +00:00
2006-08-01 22:30:55 +00:00
2006-09-22 22:16:20 +00:00
2006-09-19 14:03:02 +00:00
2006-05-26 13:54:27 +00:00
2006-09-16 11:24:41 +00:00
2006-07-15 19:36:28 +00:00
2006-07-09 21:16:06 +00:00
2006-09-22 22:11:29 +00:00
2006-09-21 01:37:02 +00:00
2006-08-09 23:47:38 +00:00
2006-05-26 00:32:21 +00:00
2006-09-23 14:44:14 +00:00
2006-08-12 15:28:39 +00:00
2006-09-22 22:11:29 +00:00
2006-09-22 21:57:52 +00:00
2006-09-17 13:33:30 +00:00
2006-08-05 14:14:34 +00:00
2006-07-21 17:11:15 +00:00
2006-09-17 13:33:30 +00:00
2006-09-17 13:39:35 +00:00
2006-09-22 01:42:22 +00:00
2006-07-22 09:18:02 +00:00
2006-07-21 17:11:15 +00:00
2006-08-04 21:27:40 +00:00
2006-07-21 17:11:15 +00:00
2006-08-03 15:31:52 +00:00
2006-08-22 03:05:51 +00:00
2006-09-13 18:39:09 +00:00
2006-09-13 18:39:09 +00:00
2006-08-01 16:27:14 +00:00
2006-06-06 15:04:52 +00:00
2006-09-08 21:46:01 +00:00
2006-09-15 11:01:23 +00:00
2006-07-13 06:41:26 +00:00
2006-09-21 01:37:02 +00:00
2006-09-21 07:27:02 +00:00
2006-09-22 07:16:36 +00:00
2006-09-22 22:11:29 +00:00
2006-06-16 21:06:03 +00:00
2006-09-20 07:49:28 +00:00
2006-09-03 22:24:08 +00:00
2006-08-10 06:29:43 +00:00