glibc/sysdeps/mach/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
..
bits Revert hurd errno.h changes 2018-06-26 20:13:34 -03:00
htl
i386 hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
net
x86
_exit.c
accept4.c
accept.c
access.c
adjtime.c
bind.c
brk.c
chdir.c
check_fds.c
check_native.c
check_pf.c
chflags.c
chmod.c
chown.c
chroot.c
clock.c
close.c
closedir.c
configure
configure.ac
connect.c
cthreads.c
device-nrs.h
dirfd.c hurd: Avoid PLT for dirfd 2018-04-05 01:52:29 +02:00
dirstream.h
dl-execstack.c
dl-fcntl.h
dl-mman.h
dl-sysdep.c hurd: Fix some ld.so symbol override from libc 2018-07-27 11:18:29 +02:00
dl-sysdep.h
dl-unistd.h hurd: Fix some ld.so symbol override from libc 2018-07-28 14:57:10 +02:00
dup2.c
dup3.c
eloop-threshold.h
enbl-secure.c
err_hurd.sub
errlist.c
errno-loc.c
errnos.awk
euidaccess.c
execve.c
faccessat.c
fchdir.c
fchflags.c
fchmod.c
fchmodat.c
fchown.c
fchownat.c
fcntl.c Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251) 2018-06-26 13:22:53 -03:00
fdatasync.c
fdopendir.c
fexecve.c
fgetxattr.c
flistxattr.c
flock.c
fork.c
fpathconf.c
fremovexattr.c
fsetxattr.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c
ftruncate64.c
ftruncate.c
futimens.c
futimes.c
futimesat.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
gai_misc.h
getclktck.c
getcwd.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
getdents.c
getdomain.c
getdtsz.c
getegid.c
geteuid.c
getgid.c
getgroups.c
gethostid.c
gethostname.c
getitimer.c
getlogin_r.c
getlogin.c
getpeername.c
getpgid.c
getpid.c
getppid.c
getpriority.c
getresgid.c
getresuid.c
getrlimit.c
getrusage.c
getsid.c
getsockname.c
getsockopt.c
getuid.c
getxattr.c
group_member.c
hp-timing.h
if_index.c hurd: Fix typo 2018-04-04 02:31:23 +02:00
ifreq.c
ifreq.h
Implies
init-posix.c
ioctl.c
isatty.c
jmp-unwind.c
kernel-features.h
kill.c
lchmod.c
lchown.c
lgetxattr.c
libc_p-ldscript
libc-ldscript
libc-start.h
libhurduser.abilist
link.c
linkat.c
listen.c
listxattr.c
llistxattr.c
lremovexattr.c
lseek64.c
lseek.c hurd: Detect 32bit overflow in value returned by lseek 2018-06-16 01:37:14 +02:00
lsetxattr.c
lutimes.c
lxstat64.c
lxstat.c
Makeconfig
Makefile
malloc-machine.h
mig-reply.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
mkdir.c
mkdirat.c
mlock.c
mlockall.c
mmap64.c
mmap.c
munlock.c
munlockall.c
not-errno.h hurd: Fix some ld.so symbol override from libc 2018-07-28 15:12:42 +02:00
open64.c
open.c
openat64.c
openat.c
opendir.c
pathconf.c
pipe2.c Fix new file header 2018-07-20 01:44:58 +02:00
pipe.c hurd: Implement pipe2 2018-07-20 01:29:55 +02:00
poll.c
ppoll.c
pread64.c
pread.c
prof-freq.c
profil.c hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
pselect.c
ptrace.c
ptsname.c
pwrite64.c
pwrite.c
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readlink.c
readlinkat.c
reboot.c
recv.c
recvfrom.c
recvmsg.c
removexattr.c
rename.c
renameat.c Add renameat2 function [BZ #17662] 2018-07-05 19:00:10 +02:00
revoke.c
rewinddir.c
rmdir.c
sbrk.c
seekdir.c
select.c
send.c
sendfile64.c hurd: avoid PLT ref between sendfile and sendfile64 2018-06-16 00:44:57 +02:00
sendfile.c hurd: avoid PLT ref between sendfile and sendfile64 2018-06-16 00:44:57 +02:00
sendmsg.c
sendto.c
setdomain.c
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
sethostname.c
setitimer.c hurd: Fix exec usage of mach_setup_thread 2018-08-01 00:10:03 +02:00
setlogin.c
setpgid.c
setpriority.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setsid.c
setsockopt.c
settimeofday.c
setuid.c
setxattr.c
shlib-versions
shutdown.c
sigaction.c
sigaltstack.c
siglist.h
sigpending.c
sigprocmask.c
sigstack.c
sigsuspend.c
sigwait.c Revert parts of "hurd: Avoid more libc.so local PLTs" 2018-04-03 23:06:00 +02:00
socket.c hurd: SOCK_CLOEXEC and SOCK_NONBLOCK for socket 2018-07-20 01:22:12 +02:00
socketpair.c hurd: SOCK_CLOEXEC and SOCK_NONBLOCK for socketpair 2018-07-20 01:24:41 +02:00
spawni.c
statfs64.c
statfs.c
statfsconv.c
statvfs64.c
statvfs.c
Subdirs
symlink.c
symlinkat.c
sync.c
syncfs.c
sysconf.c
sysdep-cancel.h
telldir.c
times.c
tls.h
tmpfile64.c
tmpfile.c
truncate64.c
truncate.c
ttyname_r.c
ttyname.c
umask.c
uname.c
unlink.c
unlinkat.c
utime-helper.c
utimensat.c
utimes.c
Versions hurd: Fix some ld.so symbol override from libc 2018-07-27 11:18:29 +02:00
wait4.c
write.c
xmknod.c
xmknodat.c
xstat64.c
xstat.c
xstatconv.c