From 33d53d44da878f83cd117f58ab45c71614905295 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 7 Aug 2015 16:09:02 +0000 Subject: [PATCH] [NTOS:MM] - Arch, don't remove all the page protections CORE-9808 svn path=/trunk/; revision=68612 --- reactos/ntoskrnl/mm/section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index cdcebdf5fc0..1ff33eec6b5 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -4485,7 +4485,7 @@ MmMapViewOfSection(IN PVOID SectionObject, } /* FIXME: We should keep this, but it would break code checking equality */ - Protect &= PAGE_NOCACHE; + Protect &= ~PAGE_NOCACHE; Section = (PROS_SECTION_OBJECT)SectionObject; AddressSpace = &Process->Vm;