Skip to content
Snippets Groups Projects
Commit 99443aa5 authored by Peter Ganten's avatar Peter Ganten Committed by Alexandre Julliard
Browse files

Committing a page of a shared mapping in one process lets it appear

committed in other processes, too. To fake this, we commit them as
soon as they are mapped.
parent 9f7907eb
No related branches found
No related tags found
No related merge requests found
......@@ -1239,6 +1239,14 @@ LPVOID WINAPI MapViewOfFileEx(
goto error;
}
/* FIXME: If a mapping is created with SEC_RESERVE and a process,
* which has a view of this mapping commits some pages, they will
* appear commited in all other processes, which have the same
* view created. Since we don`t support this yet, we create the
* whole mapping commited.
*/
prot |= VPROT_COMMITTED;
/* Map the file */
TRACE("handle=%x size=%x offset=%lx\n", handle, size, offset_low );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment