1
linux/arch/um/include/sysdep-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
..
checksum.h [PATCH] uml: sparse cleanups 2006-03-31 12:18:51 -08:00
faultinfo.h [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
kernel-offsets.h [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
ptrace_user.h [PATCH] uml: skas0 - separate kernel address space on stock hosts 2005-07-07 18:23:44 -07:00
ptrace.h [PATCH] uml: clean arch_switch usage 2006-03-31 12:18:52 -08:00
sc.h [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
sigcontext.h [PATCH] uml: fix page faults in SKAS3 mode. 2005-09-30 12:41:18 -07:00
signal.h [PATCH] uml: s390 preparation, sighandler interface abstraction 2005-05-05 16:36:38 -07:00
skas_ptrace.h [PATCH] uml: S390 preparation, abstract host page fault data 2005-05-05 16:36:36 -07:00
stub.h [PATCH] uml skas0: stop gcc's insanity 2005-12-18 11:19:44 -08:00
syscalls.h [PATCH] unify sys_ptrace prototype 2005-10-30 17:37:20 -08:00
thread.h [PATCH] uml: fix compile failure for TT mode 2005-10-24 08:59:25 -07:00
tls.h [PATCH] uml: check for differences in host support 2006-03-31 12:18:52 -08:00