src/winsup/cygwin ChangeLog mmap.cc

corinna@cygwin.com corinna@cygwin.com
Sat Jul 5 18:59:00 GMT 2003


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



More information about the Cygwin-cvs mailing list