mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user