OSDN Git Service

* mmap.cc (class mmap_record): Declare new map_pages method with
authorcorinna <corinna>
Fri, 25 Feb 2005 11:15:20 +0000 (11:15 +0000)
committercorinna <corinna>
Fri, 25 Feb 2005 11:15:20 +0000 (11:15 +0000)
commit742961622b3e2c149b08ec1a95d7a732c0c5b4c9
treebe68a507909aa5e4016578991373dde070bf0dd2
parentc621dadef4dcb44e27bc1ae476c6b74e184cf746
* mmap.cc (class mmap_record): Declare new map_pages method with
address parameter.
(mmap_record::map_pages): New method with address parameter.
(mmap64): Evaluate access mode before checking if already existing
mapping can be used.
Only use existing mapping if requested access mode matches the one
in the existing mapping.
Add check for existing mapping for MAP_FIXED case.
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc