]> sourceware.org Git - glibc.git/commit
hurd: Fix mmap(!MAP_FIXED) on bogus address
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 4 Jan 2021 19:22:59 +0000 (20:22 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 4 Jan 2021 19:22:59 +0000 (20:22 +0100)
commitb47b07c92d82df497ad4e3abebfdab51be5d0546
tree8aaa9a1520d1c11effa0c99876172b94e86d089b
parent3ec5d83d2a237d39e7fd6ef7a0bc8ac4c171a4a5
hurd: Fix mmap(!MAP_FIXED) on bogus address

In the !MAP_FIXED case, when a bogus address is given mmap should pick up a
valide address rather than returning EINVAL: Posix only talks about
EINVAL for the MAP_FIXED case.

This fixes long-running ghc processes.
sysdeps/mach/hurd/mmap.c
This page took 0.043324 seconds and 5 git commands to generate.