Sweden-Number/dlls/ntdll
Rémi Bernon 96f5968a65 ntdll: Clear the first ~1MB of stack in signal_start_thread.
Instead of the whole stack.

Stack creation in virtual_alloc_thread_stack and RtlCreateUserStack, as
well as Windows rounding logic, enforce a minimum reserved size of 1MB.

There's a few guard and canary pages used on the bottom, plus a few more
on the top for initial context, and we have to keep a bit of space if we
ever need a stack while doing this, so we clear a bit less than 1MB to
be safe.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 09:42:45 +02:00
..
tests ntdll/tests: Add committed / reserved thread stack sizes tests. 2021-04-21 09:35:04 +02:00
unix ntdll: Load libwine before the main image. 2021-04-19 20:08:48 +02:00
Makefile.in ntdll: Move the loadorder support to the Unix library. 2021-03-16 20:36:43 +01:00
actctx.c ntdll: Parse the loadFrom attribute in manifest dll elements. 2021-04-19 15:39:55 +02:00
atom.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
critsection.c
crypt.c
debugbuffer.c
directory.c ntdll: Define NtCurrentTeb64() on 64-bit to avoid some #ifdefs. 2021-04-01 12:25:21 +02:00
env.c ntdll: Define NtCurrentTeb64() on 64-bit to avoid some #ifdefs. 2021-04-01 12:25:21 +02:00
error.c ntdll: Add error mapping for MUI statuses. 2021-03-25 21:52:18 +01:00
exception.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
handletable.c
heap.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
large_int.c
loader.c ntdll: Support a full path name in the loadFrom dll redirection entry. 2021-04-21 08:55:38 +02:00
locale.c ntdll: Move kernel32 loading into LdrInitializeThunk(). 2021-03-31 21:13:45 +02:00
make_errors ntdll: Add error mapping for MUI statuses. 2021-03-25 21:52:18 +01:00
misc.c
nt.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
ntdll.spec ntdll: Add NtCreateThread stub. 2021-04-15 10:34:35 +02:00
ntdll_misc.h ntdll: Parse the loadFrom attribute in manifest dll elements. 2021-04-19 15:39:55 +02:00
path.c ntdll: Only check the existence of the directory for the Unix pathname heuristic. 2021-03-02 17:55:34 +01:00
printf.c
printf.h
process.c
reg.c ntdll: Export RtlQueryRegistryValuesEx(). 2021-03-09 12:00:35 +01:00
relay.c
resource.c ntdll: Fetch locale information from the Unix side in resource loading. 2021-03-03 21:54:44 +01:00
rtl.c
rtlbitmap.c
rtlstr.c
sec.c
signal_arm.c ntdll: Print an ERR for assertion exceptions only. 2021-03-03 21:54:44 +01:00
signal_arm64.c ntdll: Print an ERR for assertion exceptions only. 2021-03-03 21:54:44 +01:00
signal_i386.c ntdll: Clear the first ~1MB of stack in signal_start_thread. 2021-04-21 09:42:45 +02:00
signal_x86_64.c ntdll: Clear the first ~1MB of stack in signal_start_thread. 2021-04-21 09:42:45 +02:00
string.c
sync.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
thread.c ntdll: Move the PEB initialization to LdrInitializeThunk(). 2021-04-05 12:08:09 +02:00
threadpool.c ntdll: Release IO thread pool object from ioqueue_thread_proc(). 2021-04-20 21:07:09 +02:00
time.c include: Add more SYSTEM_INFORMATION_CLASS definitions. 2021-03-30 17:10:03 +02:00
unixlib.h ntdll: Remove load_builtin_dll() and get_load_order() from the Unix interface. 2021-03-30 11:51:28 +02:00
version.c ntdll: Retrieve Wine version strings through NtQuerySystemInformation(). 2021-04-05 15:07:01 +02:00
version.rc
virtual.c ntdll: Don't use wine/server.h from the PE side. 2021-02-16 23:01:37 +01:00
wcstring.c