From: Samuel Thibault Date: Sat, 9 Sep 2023 08:06:59 +0000 (+0200) Subject: htl: avoid exposing the vm_region symbol X-Git-Tag: glibc-2.39~429 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a43003ebf674f7af8c4b8d6d1b682244f1a28719;p=thirdparty%2Fglibc.git htl: avoid exposing the vm_region symbol --- diff --git a/sysdeps/mach/hurd/htl/pt-sysdep.c b/sysdeps/mach/hurd/htl/pt-sysdep.c index afef7841f8a..57732a7dff5 100644 --- a/sysdeps/mach/hurd/htl/pt-sysdep.c +++ b/sysdeps/mach/hurd/htl/pt-sysdep.c @@ -71,7 +71,7 @@ _init_routine (void *stack) memory_object_name_t obj; vm_offset_t offset; - if (vm_region (__mach_task_self (), &addr, + if (__vm_region (__mach_task_self (), &addr, &vm_size, &prot, &max_prot, &inherit, &is_shared, &obj, &offset) == KERN_SUCCESS) __mach_port_deallocate (__mach_task_self (), obj);