OSDN Git Service

* mmap.cc (mmap_record::access): Change argument type to caddr_t
authorcorinna <corinna>
Tue, 14 Jan 2003 20:40:09 +0000 (20:40 +0000)
committercorinna <corinna>
Tue, 14 Jan 2003 20:40:09 +0000 (20:40 +0000)
commit5559a0d47f82fa47846868629a426f620281616c
tree8f9eadbd1ccbeeb00571219e373804f573848c2a
parentf127fba4b205c728a01565a7f15e3a16a18704d0
* mmap.cc (mmap_record::access): Change argument type to caddr_t
for strictness.
(mprotect): Protect against calling VirtualProtect() for shared
pages on 9x/Me.
(fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
change protection of parent page to PAGE_READONLY, then try again.
Revert protection afterwards.
winsup/cygwin/ChangeLog
winsup/cygwin/mmap.cc