[KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replic...
authorAlex Ionescu <aionescu@gmail.com>
Wed, 4 Sep 2013 04:47:02 +0000 (04:47 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 4 Sep 2013 04:47:02 +0000 (04:47 +0000)
svn path=/trunk/; revision=59982

reactos/dll/win32/kernel32/client/utils.c

index 2c78936..f0f102a 100644 (file)
@@ -403,9 +403,6 @@ BaseCreateStack(HANDLE hProcess,
     StackCommit = ROUND_UP(StackCommit, PageSize);
     StackReserve = ROUND_UP(StackReserve, AllocationGranularity);
 
-    /* ROS Hack until we support guard page stack expansion */
-    StackCommit = StackReserve;
-
     /* Reserve memory for the stack */
     Stack = 0;
     Status = NtAllocateVirtualMemory(hProcess,