ed
cb56810df2
Block when initially opening a TTY multiple times.
...
In the original MPSAFE TTY code, I changed the behaviour by returning
EBUSY. I thought this made more sense, because it's basically a race to
see who gets the TTY first.
It turns out this is not a good change, because it also causes EBUSY to
be returned when another process is closing the TTY. This can happen
during startup, when /etc/rc (or one of its children) is still busy
draining its data and /sbin/init is attempting to open the TTY to spawn
a getty.
Reported by: bz
Tested by: bz
2009-05-24 12:32:03 +00:00
..
2009-05-20 16:11:22 +00:00
2009-05-23 19:14:20 +00:00
2009-05-17 10:58:50 +00:00
2009-04-19 16:17:13 +00:00
2009-05-12 16:38:32 +00:00
2009-05-23 16:01:58 +00:00
2009-05-20 18:36:17 +00:00
2009-05-23 16:42:38 +00:00
2009-05-18 01:05:09 +00:00
2009-02-05 19:30:28 +00:00
2009-03-09 13:32:19 +00:00
2009-05-22 18:26:47 +00:00
2009-05-24 03:22:49 +00:00
2008-11-22 16:14:52 +00:00
2009-05-12 16:59:50 +00:00
2009-05-18 17:20:24 +00:00
2009-05-20 16:47:40 +00:00
2009-05-18 18:44:54 +00:00
2009-05-03 17:47:21 +00:00
2009-05-24 12:32:03 +00:00
2009-05-24 11:10:27 +00:00
2009-05-13 17:11:25 +00:00
2009-02-28 16:21:25 +00:00
2009-05-23 22:05:14 +00:00
2009-05-22 12:35:12 +00:00
2009-05-23 21:43:44 +00:00
2009-05-20 20:18:01 +00:00
2009-04-19 22:01:38 +00:00
2009-05-13 02:26:34 +00:00
2009-05-23 17:02:30 +00:00
2009-05-23 16:51:13 +00:00
2009-05-23 16:42:38 +00:00
2009-04-26 21:03:27 +00:00
2009-05-20 17:00:16 +00:00
2008-11-22 16:14:52 +00:00
2008-11-22 16:14:52 +00:00
2009-05-18 18:37:18 +00:00
2009-05-23 16:27:42 +00:00
2009-05-24 11:10:27 +00:00
2009-05-22 12:35:12 +00:00
2009-05-23 13:23:46 +00:00
2009-05-18 18:37:18 +00:00
2009-04-20 07:13:04 +00:00
2009-05-21 12:05:15 +00:00
2009-05-22 12:35:12 +00:00
2009-05-11 15:33:26 +00:00
2009-05-21 02:19:01 +00:00
2009-05-18 18:37:18 +00:00
2009-05-23 22:57:49 +00:00
2009-03-29 03:30:15 +00:00
2009-05-22 15:56:43 +00:00
2009-05-19 01:14:37 +00:00
2009-02-28 16:21:25 +00:00
2009-04-01 17:06:28 +00:00
2009-05-22 12:35:12 +00:00