Author: ion Date: Wed Sep 4 04:47:02 2013 New Revision: 59982
URL: http://svn.reactos.org/svn/reactos?rev=59982&view=rev Log: [KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replicated the changes I made to RtlpCreateStack).
Modified: trunk/reactos/dll/win32/kernel32/client/utils.c
Modified: trunk/reactos/dll/win32/kernel32/client/utils.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/u... ============================================================================== --- trunk/reactos/dll/win32/kernel32/client/utils.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/client/utils.c [iso-8859-1] Wed Sep 4 04:47:02 2013 @@ -402,9 +402,6 @@
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;