diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-01 00:10:03 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-01 00:10:03 +0200 |
commit | 42fc12ef7345855ed6e2f23f863a16f43c2a8078 (patch) | |
tree | 2db81f345f73ecdfb94bba9936a9dd0661b40bc8 /sysdeps/mach/hurd/i386/libc.abilist | |
parent | d4b54bdff0064c36097dd5468f8aca9257472e9a (diff) | |
download | glibc-42fc12ef7345855ed6e2f23f863a16f43c2a8078.tar.gz glibc-42fc12ef7345855ed6e2f23f863a16f43c2a8078.tar.xz glibc-42fc12ef7345855ed6e2f23f863a16f43c2a8078.zip |
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.
Diffstat (limited to 'sysdeps/mach/hurd/i386/libc.abilist')
-rw-r--r-- | sysdeps/mach/hurd/i386/libc.abilist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist index 64586d828d..e3fc05137b 100644 --- a/sysdeps/mach/hurd/i386/libc.abilist +++ b/sysdeps/mach/hurd/i386/libc.abilist @@ -1228,6 +1228,7 @@ GLIBC_2.2.6 mach_port_deallocate F GLIBC_2.2.6 mach_port_insert_right F GLIBC_2.2.6 mach_reply_port F GLIBC_2.2.6 mach_setup_thread F +GLIBC_2.2.6 mach_setup_tls F GLIBC_2.2.6 mach_task_self F GLIBC_2.2.6 mach_thread_self F GLIBC_2.2.6 madvise F |