Ed Schouten
b61637107c
Track state to determine if the associated TTY device node has been used.
...
It turns out our old TTY layer (and other implementations) block when
you read() on a PTY master device of which the slave device node has not
been opened yet. Our new implementation just returned 0. This caused
applications like telnetd to die in a very subtle way (when child
processes would open the TTY later than the first call to select()).
Introduce a new flag called PTS_FINISHED, which indicates whether we
should block or bail out of a read() or write() occurs.
Reported by: Claude Buisson <clbuisson orange fr>
2008-09-23 17:12:25 +00:00
..
2008-09-18 18:51:32 +00:00
2008-09-11 20:43:38 +00:00
2008-09-19 19:49:58 +00:00
2008-08-24 21:20:35 +00:00
2008-09-18 14:48:46 +00:00
2008-09-18 19:57:06 +00:00
2008-09-22 18:59:24 +00:00
2008-09-23 14:45:10 +00:00
2008-09-05 22:24:31 +00:00
2008-08-09 20:01:01 +00:00
2008-09-15 22:45:14 +00:00
2008-09-23 03:16:54 +00:00
2008-09-23 14:45:10 +00:00
2008-03-16 13:02:04 +00:00
2008-09-18 15:02:19 +00:00
2008-09-20 19:50:52 +00:00
2008-09-23 14:45:10 +00:00
2008-09-23 14:45:10 +00:00
2008-08-24 07:40:14 +00:00
2008-09-23 17:12:25 +00:00
2008-09-23 14:45:10 +00:00
2008-09-23 14:45:10 +00:00
2008-09-23 03:16:54 +00:00
2008-09-20 19:38:37 +00:00
2008-09-22 00:22:09 +00:00
2008-07-04 00:21:38 +00:00
2008-09-22 19:28:18 +00:00
2008-09-21 20:42:42 +00:00
2008-09-22 06:44:03 +00:00
2008-08-17 23:27:27 +00:00
2008-09-17 15:49:44 +00:00
2008-07-04 00:21:38 +00:00
2008-03-30 18:16:33 +00:00
2008-03-27 01:23:59 +00:00
2008-03-25 09:39:02 +00:00
2008-08-28 15:23:18 +00:00
2008-09-20 19:50:52 +00:00
2008-09-17 15:49:44 +00:00
2008-08-25 09:36:17 +00:00
2008-01-07 20:05:19 +00:00
2008-09-10 18:36:58 +00:00
2008-08-14 21:26:29 +00:00
2008-09-23 03:02:57 +00:00
2008-08-25 09:36:17 +00:00
2008-09-17 15:49:44 +00:00
2008-09-20 11:26:13 +00:00
2008-09-10 20:07:08 +00:00
2008-09-23 14:45:10 +00:00
2008-02-05 10:46:30 +00:00
2008-09-22 20:53:22 +00:00
2008-09-21 18:01:34 +00:00
2008-03-26 15:23:12 +00:00
2008-08-20 09:20:12 +00:00
2008-08-15 14:11:30 +00:00