]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Export _hurd_libc_proc_init
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 11 Apr 2021 21:11:47 +0000 (23:11 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 11 Apr 2021 22:23:36 +0000 (00:23 +0200)
hurd's libdiskfs needs to be able to call _hurd_init + _hurd_libc_proc_init
for bootstrap initialization.

hurd/Versions
hurd/hurd.h
sysdeps/mach/hurd/i386/libc.abilist

index b66d37be07b0466f9d7685e8cd388d17727438c0..7e4f1c5630ad94082794c7e3b11a1d22bc5e40cc 100644 (file)
@@ -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;
index 986080c819117ac999adfdac54079ec5f7cb117d..51c3f9c1a148181cef857aff0f4f9b3739d76589 100644 (file)
@@ -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>.  */
index 7424dc91660c4fe0fb1695003c9ad4419a4d97dd..fcba25ee5e7a38870432e1c3c56d1e673bf22a9d 100644 (file)
@@ -2206,6 +2206,7 @@ GLIBC_2.33 stat F
 GLIBC_2.33 stat64 F
 GLIBC_2.34 __isnanf128 F
 GLIBC_2.34 __libc_start_main F
+GLIBC_2.34 _hurd_libc_proc_init F
 GLIBC_2.4 __confstr_chk F
 GLIBC_2.4 __fgets_chk F
 GLIBC_2.4 __fgets_unlocked_chk F