OSDN Git Service

* hookapi.cc (hook_or_detect_cygwin): Take additional handle
authorcorinna <corinna>
Tue, 25 Oct 2011 16:35:53 +0000 (16:35 +0000)
committercorinna <corinna>
Tue, 25 Oct 2011 16:35:53 +0000 (16:35 +0000)
commit8d1810b051d9e27d359091bb6c3067685e103abf
tree8c65739ac477f92923e93474a95f222be463af94
parentd94abe5fb4ed13732f77ff46f78d908d19e1479d
* hookapi.cc (hook_or_detect_cygwin): Take additional handle
to a file mapping as parameter.  If this handle is not NULL,
create another file mapping for the IAT.
* spawn.cc (av::fixup): Only map the first 64K of an image and
keep the mapping handle to use as argument to hook_or_detect_cygwin.
* winsup.h (hook_or_detect_cygwin): Add mapping handle as default
parameter in declaration.
winsup/cygwin/ChangeLog
winsup/cygwin/hookapi.cc
winsup/cygwin/spawn.cc
winsup/cygwin/winsup.h