aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-11 23:18:15 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-11 23:20:47 +0200
commitf1505f3dc03218cce46c278dbd6fffc2b3809bd7 (patch)
treeb95cba51f83419b8c0809c1e752897fe97ac4f4b /libdiskfs
parent6357d0b257044d639f8321c68d2fd21bc7e1eda5 (diff)
downloadhurd-f1505f3dc03218cce46c278dbd6fffc2b3809bd7.tar.gz
hurd-f1505f3dc03218cce46c278dbd6fffc2b3809bd7.tar.bz2
hurd-f1505f3dc03218cce46c278dbd6fffc2b3809bd7.zip
Call _hurd_libc_proc_init when available
glibc 2.33 separated out _hurd_libc_proc_init from _hurd_init, so we have to additionally call it. * configure.ac (_hurd_libc_proc_init): Detect function. * libdiskfs/boot-start.c (diskfs_S_fsys_init): Call _hurd_libc_proc_init. * libmachdev/trivfs_server.c (trivfs_S_fsys_init): Call _hurd_libc_proc_init.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/boot-start.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index fa59e1b2..0ae90144 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -634,6 +634,9 @@ diskfs_S_fsys_init (struct diskfs_control *pt,
portarray[INIT_PORT_CRDIR] = root_pt;
portarray[INIT_PORT_CWDIR] = root_pt;
_hurd_init (0, diskfs_argv, portarray, INIT_PORT_MAX, NULL, 0);
+#ifdef HAVE__HURD_LIBC_PROC_INIT
+ _hurd_libc_proc_init(diskfs_argv);
+#endif
}
err = get_privileged_ports (&host, 0);