android_kernel_xiaomi_sm8350/arch/um
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
..
drivers [PATCH] um: fix errno usage 2007-03-08 07:38:21 -08:00
include [PATCH] um: remove dead code about os_usr1_signal() and os_usr1_process() 2007-03-08 07:38:21 -08:00
kernel [PATCH] uml: activate_fd: return ENOMEM only when appropriate 2007-03-08 07:38:21 -08:00
os-Linux [PATCH] um: remove dead code about os_usr1_signal() and os_usr1_process() 2007-03-08 07:38:21 -08:00
scripts kbuild: fix ia64 breakage after introducing make -rR 2006-07-01 09:58:02 +02:00
sys-i386 [PATCH] uml: fix host LDT lookup initialization locking, try 2 2007-03-01 14:53:38 -08:00
sys-ia64
sys-ppc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys-x86_64 [PATCH] uml: arch_prctl should set thread fs 2007-03-08 07:38:22 -08:00
config.release
defconfig [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig [PATCH] sort the devres mess out 2007-02-11 11:18:07 -08:00
Kconfig.char [PATCH] uml: enable RAW 2007-03-01 14:53:38 -08:00
Kconfig.debug [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig.i386 [PATCH] fix indentation-related breakage in Kconfig.i386 2007-01-30 08:39:21 -08:00
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00