glibc/mach
Samuel Thibault 5fdc693d95 hurd: Make __getrandom_early_init call __mach_init
25d37948c9 ("malloc: Improve malloc initialization") moved calling malloc
initialization earlier, within _dl_sysdep_start's call to dl_main, before
__mach_init is called by _dl_init_first. But malloc initialization uses
getrandom, which needs to make RPCs.

This adds __getrandom_early_init on hurd to express that getrandom needs
__mach_init too. This also adds a guard to avoid making it create several task
and host ports.

Fixes: 25d37948c9 ("malloc: Improve malloc initialization")
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2025-06-09 08:34:06 +00:00
..
mach Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Machrules Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
Versions Define __mig_strlen to support dynamically sized strings in hurd RPCs 2023-05-01 02:24:04 +02:00
devstream.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
err_boot.sub
err_ipc.sub
err_kern.sub mach: Add missing error messages 2025-01-14 22:41:03 +01:00
err_mach.sub
err_server.sub
err_us.sub
error_compat.c
errorlib.h Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
errstring.c hurd: Avoid some libc.so PLTs 2018-04-02 22:08:55 +00:00
errsystems.awk
lock-intern.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
lowlevellock.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mach.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mach_error.c
mach_error.h
mach_init.c hurd: Make __getrandom_early_init call __mach_init 2025-06-09 08:34:06 +00:00
mach_init.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig-alloc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig-dealloc.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig-reply.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig_memcpy.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig_strlen.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mig_strncpy.c mig_strncpy: ensure destination string is null terminated 2025-02-10 19:44:46 +01:00
msg-destroy.c Update code to handle the new ABI for sending inlined port rights. 2023-12-17 23:48:37 +01:00
msg.c hurd: Avoid PLT ref to __mach_msg 2018-06-16 02:50:30 +02:00
msgserver.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mutex-init.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
mutex-solid.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setup-thread.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
setup-thread.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
shortcut.awk hurd: Avoid PLT references to shortcuts 2018-06-16 02:48:41 +02:00
spin-lock.c hurd: Add missing symbols 2018-04-04 02:17:49 +02:00
spin-lock.h Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
spin-solid.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
stack_chk_fail_local.c hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
syscalls.awk