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
Machrules
Makefile
Versions
devstream.c
err_boot.sub
err_ipc.sub
err_kern.sub
err_mach.sub
err_server.sub
err_us.sub
error_compat.c
errorlib.h
errstring.c
errsystems.awk
lock-intern.h
lowlevellock.h
mach.h
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
mig-alloc.c
mig-dealloc.c
mig-reply.c
mig_memcpy.c
mig_strlen.c
mig_strncpy.c mig_strncpy: ensure destination string is null terminated 2025-02-10 19:44:46 +01:00
msg-destroy.c
msg.c
msgserver.c
mutex-init.c
mutex-solid.c
setup-thread.c
setup-thread.h
shortcut.awk
spin-lock.c
spin-lock.h
spin-solid.c
stack_chk_fail_local.c
syscalls.awk