mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
[KERNEL32]: Enable guard pages for Win32 threads too, not just native threads (replicated the changes I made to RtlpCreateStack).
svn path=/trunk/; revision=59982
This commit is contained in:
parent
e371890058
commit
f5f5edbd4a
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue