- MmCreateSection: SectionPageProtection of PAGE_NOACCESS is valid in <=Win98, but not valid in the NT family. More kernel32_winetest fixes for virtual memory.

svn path=/trunk/; revision=40894
This commit is contained in:
Michael Martin 2009-05-12 09:00:06 +00:00
parent f7a9c01b65
commit 76c5505c5e

View file

@ -4990,8 +4990,7 @@ MmCreateSection (OUT PVOID * Section,
* Check the protection
*/
Protection = SectionPageProtection & ~(PAGE_GUARD|PAGE_NOCACHE);
if (Protection != PAGE_NOACCESS &&
Protection != PAGE_READONLY &&
if (Protection != PAGE_READONLY &&
Protection != PAGE_READWRITE &&
Protection != PAGE_WRITECOPY &&
Protection != PAGE_EXECUTE &&