aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 503feaf962..ec53e2f36e 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -213,6 +213,8 @@ _dl_sysdep_start_cleanup (void)
int
_dl_sysdep_open_zero_fill (void)
{
+ /* The minimal mmap below uses the fd as a memory object port.
+ The real mmap used for dlopen ignores the fd for MAP_ANON. */
return (int) MACH_PORT_NULL;
}