Improvements to fork handling (3/5)

Ryan Johnson ryan.johnson@cs.utoronto.ca
Wed May 11 18:32:00 GMT 2011


Hi all,

This patch fixes a bug in the reserve_at function which caused it to 
sometimes reserve space needed by the dll it was supposed to help land. 
This happens when the dll tries to land in a free region which overlaps 
the desired location. The new code exploits the image introspection 
(patch #2) to get the dll's image size and avoids the corner cases.

Ryan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fork-reserve-at.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110511/ef562259/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fork-reserve-at.changes
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110511/ef562259/attachment-0001.ksh>


More information about the Cygwin-patches mailing list