[PATCH 1/2] ntdll: Always use MAP_SHARED in NtMapViewOfSection.

Jacek Caban jacek at codeweavers.com
Thu May 8 10:30:29 CDT 2014

Currently we use MAP_SHARED only if mapped memory is writable. This
means that read only memory will use MAP_PRIVATE. On Linux, this is
still shared if another process mapped the same file with write access.
However that's not the case on Mac. The next patch in the series adds a
test case that exposes the problem.

 dlls/ntdll/virtual.c | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Always-use-MAP_SHARED-in-NtMapViewOfSection.diff
Type: text/x-patch
Size: 5336 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140508/57de9991/attachment.bin>

More information about the wine-patches mailing list