Jeff Dike ce3b642d42 uml: work around host tcsetattr bug
Under the conditions that UML uses it, tcgetattr is guaranteed to return
-EINTR when the console is attached to /dev/ptmx, making generic_console_write
hang because it loops, calling tcgetattr until it succeeds.  This is a host
bug - see http://marc.info/?l=linux-kernel&m=119618990807182&w=2 for the
details.

This patch works around it by blocking SIGIO while the terminal attributes are
being fiddled.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-03 08:13:17 -08:00
..
2007-10-16 09:43:04 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:09 -07:00
2007-10-20 01:23:03 +02:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:09 -07:00
2007-11-14 18:45:43 -08:00
2007-10-16 09:43:08 -07:00
2007-10-20 01:23:03 +02:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2006-10-10 15:37:24 -07:00
2007-10-16 09:43:04 -07:00
2007-10-16 09:43:04 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-20 01:23:03 +02:00
2007-10-16 09:43:04 -07:00
2007-11-29 09:24:53 -08:00
2007-07-16 09:05:38 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:05 -07:00
2007-07-16 09:05:38 -07:00
2007-10-16 09:43:09 -07:00