diff options
| author | Sergey Bugaev <bugaevc@gmail.com> | 2023-04-20 21:42:19 +0300 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-21 03:02:04 +0200 |
| commit | 8e78a2e1d166411a1243e505d036e85e4a7ff17f (patch) | |
| tree | a5d270f3baad166aeed81481a5b39ce71b18497c /stdio-common/Xprintf_buffer_write.c | |
| parent | 88cc282a9a694d3c4f3636d6d518f9f0dac76b73 (diff) | |
| download | glibc-8e78a2e1d166411a1243e505d036e85e4a7ff17f.tar.xz glibc-8e78a2e1d166411a1243e505d036e85e4a7ff17f.zip | |
hurd: Don't migrate reply port into __init1_tcbhead
Properly differentiate between setting up the real TLS with
TLS_INIT_TP, and setting up the early TLS (__init1_tcbhead) in static
builds. In the latter case, don't yet migrate the reply port into the
TCB, and don't yet set __libc_tls_initialized to 1.
This also lets us move the __init1_desc assignment inside
_hurd_tls_init ().
Fixes cd019ddd892e182277fadd6aedccc57fa3923c8d
"hurd: Don't leak __hurd_reply_port0"
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Diffstat (limited to 'stdio-common/Xprintf_buffer_write.c')
0 files changed, 0 insertions, 0 deletions
