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-12 16:38:32 +00:00
2009-05-23 16:01:58 +00:00
2009-05-20 18:36:17 +00:00
2009-03-09 13:32:19 +00:00
2009-05-23 13:23:46 +00:00
2009-05-21 12:05:15 +00:00
2009-05-19 01:14:37 +00:00
2009-04-01 17:06:28 +00:00