android_kernel_xiaomi_sm8350/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
..
bug.c [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
bugs.c
delay.c
fault.c
ksyms.c [PATCH] uml: remove duplicate export 2006-10-11 11:14:20 -07:00
Makefile [PATCH] UML: add generic BUG support 2006-12-08 08:28:39 -08:00
mem.c
ptrace_user.c
ptrace.c [PATCH] uml: x86_64 ptrace fixes 2007-02-11 10:51:24 -08:00
setjmp.S
sigcontext.c
signal.c [PATCH] uml: fix signal frame alignment 2007-01-30 16:01:35 -08:00
stub_segv.c [PATCH] make UML compile (FC6/x86-64) 2006-10-15 14:18:39 -07:00
stub.S
syscall_table.c
syscalls.c [PATCH] uml: arch_prctl should set thread fs 2007-03-08 07:38:22 -08:00
sysrq.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
tls.c [PATCH] uml: x86_64 thread fixes 2007-02-11 10:51:24 -08:00
um_module.c
unmap.c [PATCH] Fix "Remove the use of _syscallX macros in UML" 2006-10-30 12:08:41 -08:00
user-offsets.c