Author: cgutman
Date: Thu Aug 18 19:50:19 2011
New Revision: 53306
URL:
http://svn.reactos.org/svn/reactos?rev=53306&view=rev
Log:
- Revert r53305 because Windows unprotects pages this way
Modified:
trunk/reactos/ntoskrnl/mm/ARM3/pool.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/pool.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/pool.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/ARM3/pool.c [iso-8859-1] Thu Aug 18 19:50:19 2011
@@ -626,7 +626,7 @@
if (MmProtectFreedNonPagedPool)
{
/* We need to be able to touch this page, unprotect it */
- MiUnProtectFreeNonPagedPool(NextEntry, 1);
+ MiUnProtectFreeNonPagedPool(NextEntry, 0);
}
//
@@ -946,7 +946,7 @@
if (MmProtectFreedNonPagedPool)
{
/* The freed block will be merged, it must be made accessible */
- MiUnProtectFreeNonPagedPool(MiPteToAddress(PointerPte), 1);
+ MiUnProtectFreeNonPagedPool(MiPteToAddress(PointerPte), 0);
}
//
@@ -1020,7 +1020,7 @@
if (MmProtectFreedNonPagedPool)
{
/* The freed block will be merged, it must be made accessible */
- MiUnProtectFreeNonPagedPool(MiPteToAddress(PointerPte), 1);
+ MiUnProtectFreeNonPagedPool(MiPteToAddress(PointerPte), 0);
}
/* Check if this is valid pool, or a guard page */
@@ -1058,7 +1058,7 @@
if (MmProtectFreedNonPagedPool)
{
/* The freed block will be merged, it must be made accessible */
- MiUnProtectFreeNonPagedPool(FreeEntry, 1);
+ MiUnProtectFreeNonPagedPool(FreeEntry, 0);
}
//