Re: [PATCH 1/2] hurd: Don't migrate reply port into __init1_tcbhead

2023-04-20 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le jeu. 20 avril 2023 21:42:19 +0300, a ecrit: > 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 do

[PATCH 1/2] hurd: Don't migrate reply port into __init1_tcbhead

2023-04-20 Thread Sergey Bugaev
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 assign