ntdll: On x86_64, don't access %gs in signal_start_thread().
%gs is not set until call_init_thunk().
Also, adjust other TEB accesses to be consistent with the surrounding
functions.
Fixes a crash on macOS introduced by 7ae488a2
("ntdll: Don't hardcode xstate size in syscall frame.")
Showing
Please
register
or
sign in
to comment