diff options
author | Sergey Bugaev <bugaevc@gmail.com> | 2023-06-26 02:17:50 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-07-03 01:38:12 +0200 |
commit | 19c3b318127005444e55feb35e27d877a6af8461 (patch) | |
tree | 065b4457c8a95c19fdcf378a5927f48dc8a5a6f8 /sysdeps/csky | |
parent | f84c3ceb0447477eb022cd5da6c8f27a705deae6 (diff) | |
download | glibc-19c3b318127005444e55feb35e27d877a6af8461.tar glibc-19c3b318127005444e55feb35e27d877a6af8461.tar.gz glibc-19c3b318127005444e55feb35e27d877a6af8461.tar.bz2 glibc-19c3b318127005444e55feb35e27d877a6af8461.zip |
hurd: Fix mapping at address 0 with MAP_FIXED
Zero address passed to mmap () typically means the caller doesn't have
any specific preferred address. Not so if MAP_FIXED is passed: in this
case 0 means literal 0. Fix this case to pass anywhere = 0 into vm_map.
Also add some documentation.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-Id: <20230625231751.404120-4-bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/csky')
0 files changed, 0 insertions, 0 deletions