linux-stable-rt/arch/um/sys-i386
Paolo 'Blaisorblade' Giarrusso 3feb88562d [PATCH] uml: check for differences in host support
If running on a host not supporting TLS (for instance 2.4) we should report
that cleanly to the user, instead of printing not comprehensible "error 5" for
that.

Additionally, i386 and x86_64 support different ranges for
user_desc->entry_number, and we must account for that; we couldn't pass
ourselves -1 because we need to override previously existing TLS descriptors
which glibc has possibly set, so test at startup the range to use.

x86 and x86_64 existing ranges are hardcoded.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:52 -08:00
..
Makefile [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
bugs.c
checksum.S
delay.c
fault.c
ksyms.c
ldt.c
ptrace.c [PATCH] uml: add arch_switch_to for newly forked thread 2006-03-31 12:18:52 -08:00
ptrace_user.c [PATCH] uml: clean arch_switch usage 2006-03-31 12:18:52 -08:00
sigcontext.c
signal.c [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
stub.S
stub_segv.c
sys_call_table.S [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
syscalls.c [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
sysrq.c
tls.c [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00
unmap.c
user-offsets.c