Author: mjmartin
Date: Tue May 12 13:00:06 2009
New Revision: 40894
URL:
http://svn.reactos.org/svn/reactos?rev=40894&view=rev
Log:
- MmCreateSection: SectionPageProtection of PAGE_NOACCESS is valid in <=Win98, but not
valid in the NT family. More kernel32_winetest fixes for virtual memory.
Modified:
trunk/reactos/ntoskrnl/mm/section.c
Modified: trunk/reactos/ntoskrnl/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Tue May 12 13:00:06 2009
@@ -4990,8 +4990,7 @@
* 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 &&