This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog mmap.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 5 Jul 2003 18:59:35 -0000
- Subject: src/winsup/cygwin ChangeLog mmap.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sources.redhat.com 2003-07-05 18:59:35
Modified files:
winsup/cygwin : ChangeLog mmap.cc
Log message:
* mmap.cc (list::match): Add parameters to return valid address and
length back to munmap(). Evaluate intersection between given
area and mapped area and return it, if any.
(mmap64): On regular files, don't allow mappings beginning beyond
EOF. Return with errno set to ENXIO instead.
(munmap): Rewrite SUSv3 conformant. Check if given memory area is
valid. Unmap all maps inside given memory area. Don't return error
if no mapping has been unmapped.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1954&r2=1.1955
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.78&r2=1.79