44f5c4ced6
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> |
||
---|---|---|
.. | ||
bug.c | ||
bugs.c | ||
delay.c | ||
fault.c | ||
ksyms.c | ||
Makefile | ||
mem.c | ||
ptrace.c | ||
ptrace_user.c | ||
setjmp.S | ||
sigcontext.c | ||
signal.c | ||
stub.S | ||
stub_segv.c | ||
syscall_table.c | ||
syscalls.c | ||
sysrq.c | ||
tls.c | ||
um_module.c | ||
unmap.c | ||
user-offsets.c |