1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-08 17:42:12 +03:00

hurd: Notify the proc server later during initialization

Notifying the proc server is an involved task, and unleashes various signal
handling etc. so we have to do this after e.g. ifunc relocations are
completed.
This commit is contained in:
Samuel Thibault
2020-11-11 12:52:35 +00:00
parent 9cec82de71
commit 1ccbb9258e
3 changed files with 31 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
#ifndef _HURD_H
#include_next <hurd.h>
void _hurd_libc_proc_init (char **argv);
/* Like __USEPORT, but cleans fd on cancel. */
#define __USEPORT_CANCEL(which, expr) \
HURD_PORT_USE_CANCEL (&_hurd_ports[INIT_PORT_##which], (expr))
@@ -8,5 +10,6 @@
#ifndef _ISOMAC
libc_hidden_proto (_hurd_exec_paths)
libc_hidden_proto (_hurd_init)
libc_hidden_proto (_hurd_libc_proc_init)
#endif
#endif