Files
linux/drivers/char
Jan Lübbe a64314e62d fix console change race exposed by CFS
The new behaviour of CFS exposes a race which occurs if a switch is
requested when vt_mode.mode is VT_PROCESS.

The process with vc->vt_pid is signaled before vc->vt_newvt is set.
This causes the switch to fail when triggered by the monitoing process
because the target is still -1.

[ If the signal sending fails, the subsequent "reset_vc(vc)" will then
  reset vt_newvt to -1, so this works for that case too.   - Linus ]

Signed-off-by: Jan Lübbe <jluebbe@lasnet.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-09-29 10:00:15 -07:00
..
2007-07-31 15:39:44 -07:00
2007-08-22 19:52:44 -07:00
2007-07-16 09:05:46 -07:00
2007-05-08 11:15:09 -07:00
2007-05-08 11:15:13 -07:00
2007-05-21 09:18:19 -07:00
2007-07-17 10:23:10 -07:00
2007-07-26 11:35:19 -07:00
2007-02-20 17:11:55 +00:00
2007-07-19 10:04:43 -07:00
2007-07-19 10:04:43 -07:00
2007-07-29 17:09:29 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:47 -07:00
2007-02-12 09:48:30 -08:00
2007-07-21 17:49:16 -07:00
2007-07-17 10:23:10 -07:00
2007-07-16 09:05:46 -07:00
2007-07-10 17:51:13 -07:00
2006-12-08 08:28:59 -08:00
2007-08-22 19:52:46 -07:00
2007-05-08 11:15:05 -07:00
2007-07-16 09:05:47 -07:00
2006-12-20 16:37:48 +11:00