aboutsummaryrefslogtreecommitdiff
path: root/include/gcc-c-interface.h
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2024-12-27 16:09:40 -0500
committerKen Brown <kbrown@cornell.edu>2025-01-07 16:45:19 -0500
commitad8d3195cc706cd568b24fdd9ce59fe938c1287e (patch)
tree598066a3115ee8ea741b356b60202db7f5231d7a /include/gcc-c-interface.h
parent8adc45fdece5d8ea8017e635575562b76c4e9bcd (diff)
downloadnewlib-ad8d3195cc706cd568b24fdd9ce59fe938c1287e.zip
newlib-ad8d3195cc706cd568b24fdd9ce59fe938c1287e.tar.gz
newlib-ad8d3195cc706cd568b24fdd9ce59fe938c1287e.tar.bz2
Cygwin: mmap: allow remapping part of an existing anonymous mapping
Previously mmap with MAP_FIXED would fail with EINVAL on an attempt to map an address range contained in the chunk of an existing mapping. With this commit, mmap will succeed, provided the mappings are anonymous, the MAP_SHARED/MAP_PRIVATE flags agree, and MAP_NORESERVE is not set for either mapping. Addresses: https://cygwin.com/pipermail/cygwin/2024-December/256901.html Signed-off-by: Ken Brown <kbrown@cornell.edu>
Diffstat (limited to 'include/gcc-c-interface.h')
0 files changed, 0 insertions, 0 deletions