mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
3feb88562d
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> |
||
---|---|---|
.. | ||
bugs.c | ||
checksum.S | ||
delay.c | ||
fault.c | ||
ksyms.c | ||
ldt.c | ||
Makefile | ||
ptrace_user.c | ||
ptrace.c | ||
sigcontext.c | ||
signal.c | ||
stub_segv.c | ||
stub.S | ||
sys_call_table.S | ||
syscalls.c | ||
sysrq.c | ||
tls.c | ||
unmap.c | ||
user-offsets.c |