linux/arch/um/sys-x86_64
Jeff Dike 44f5c4ced6 [PATCH] uml: arch_prctl should set thread fs
In my previous x86_64 thread fix, I forgot to initialize thread.arch.fs in
arch_prctl.  A process calling arch_prctl to set %fs would lose it on the
next context switch.

It also turns out that you can switch to a process which is in the process
of exiting and which has lost its mm.  In this case, it's worse than
useless to try to call arch_prctl on the host process.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-08 07:38:22 -08:00
..
2006-12-08 08:28:39 -08:00
2005-04-16 15:20:36 -07:00
2005-05-20 15:48:17 -07:00
2005-04-16 15:20:36 -07:00
2006-10-11 11:14:20 -07:00
2006-12-08 08:28:39 -08:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:24 -08:00
2006-09-26 08:49:05 -07:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:24 -08:00