summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-11 23:11:47 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-12 00:23:36 +0200
commit0385d5fff8b7de411443a8ece7cd29f702c3f4fd (patch)
tree71589f02015b9bfd4a3559140c18106c578b46bb /hurd
parentdff9e592b8f74e2e7be015cbee1c0fad3ef96d37 (diff)
downloadglibc-0385d5fff8b7de411443a8ece7cd29f702c3f4fd.tar.gz
glibc-0385d5fff8b7de411443a8ece7cd29f702c3f4fd.tar.xz
glibc-0385d5fff8b7de411443a8ece7cd29f702c3f4fd.zip
hurd: Export _hurd_libc_proc_init
hurd's libdiskfs needs to be able to call _hurd_init + _hurd_libc_proc_init
for bootstrap initialization.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/Versions5
-rw-r--r--hurd/hurd.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/hurd/Versions b/hurd/Versions
index b66d37be07..7e4f1c5630 100644
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -138,6 +138,11 @@ libc {
     _hurd_port_move;
   }
 
+  GLIBC_2.34 {
+    # "quasi-internal" functions
+    _hurd_libc_proc_init;
+  }
+
   HURD_CTHREADS_0.3 {
     # weak refs to libthreads functions that libc calls iff libthreads in use
     __cthread_fork; __pthread_create; __cthread_detach; __pthread_detach;
diff --git a/hurd/hurd.h b/hurd/hurd.h
index 986080c819..51c3f9c1a1 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -275,6 +275,9 @@ extern void _hurd_init (int flags, char **argv,
 			mach_port_t *portarray, size_t portarraysize,
 			int *intarray, size_t intarraysize);
 
+/* Register the process to the proc server.  */
+extern void _hurd_libc_proc_init (char **argv);
+
 /* Do startup handshaking with the proc server, and initialize library data
    structures that require proc server interaction.  This includes
    initializing signals; see _hurdsig_init in <hurd/signal.h>.  */