glibc/hurd
Samuel Thibault 42fc12ef73 hurd: Fix exec usage of mach_setup_thread
Exec needs that mach_setup_thread does *not* set up TLS since it works on
another task, so we have to split this into mach_setup_tls.

	* mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
	* mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
	(__mach_setup_tls): ... new function.
	(mach_setup_tls): New alias.
	* hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
	__mach_setup_thread.
	* sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
	* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
	* mach/Versions [libc] (mach_setup_tls): Add symbol.
	* sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
2018-08-01 00:10:03 +02:00
..
hurd
alloc-fd.c
catch-exc.c
catch-signal.c
compat-20.c
ctty-input.c
ctty-output.c
Depend
dtable.c
exc2signal.c
faultexc.defs
fchroot.c
fcntl-internal.h
fd-close.c
fd-read.c
fd-write.c
fopenport.c
get-host.c
getdport.c
geteuids.c
getumask.c
hurd-raise.c
hurd.h
hurdauth.c
hurdchdir.c
hurdexec.c
hurdfault.c
hurdfault.h
hurdfchdir.c
hurdhost.h
hurdid.c
hurdinit.c
hurdioctl.c
hurdkill.c
hurdlock.c
hurdlock.h
hurdlookup.c
hurdmalloc.c
hurdmalloc.h
hurdmsg.c
hurdpid.c
hurdports.c
hurdprio.c
hurdrlimit.c
hurdselect.c
hurdsig.c
hurdsock.c
hurdsocket.h
hurdstartup.c
hurdstartup.h
intern-fd.c
intr-msg.c
intr-rpc.defs
intr-rpc.h
longjmp-ts.c
lookup-at.c
lookup-retry.c
Makefile
msgportdemux.c
new-fd.c
Notes
openport.c
path-lookup.c
pid2task.c
port2fd.c
port-cleanup.c
ports-get.c
ports-set.c
preempt-sig.c
privports.c
report-wait.c
set-host.c
setauth.c
seteuids.c
siginfo.c
sigunwind.c
stack_chk_fail_local.c
task2pid.c
thread-cancel.c
thread-self.c
trampoline.c
Versions
vpprintf.c
xattr.c