diff --git a/patches/ntdll-Thread_Stack/definition b/patches/ntdll-Thread_Stack/definition index 44859cb7..f4581714 100644 --- a/patches/ntdll-Thread_Stack/definition +++ b/patches/ntdll-Thread_Stack/definition @@ -1,3 +1,4 @@ Fixes: Use a separate stack when starting new threads Fixes: Ignore invalid exit_frame when exiting thread Depends: ntdll-ThreadTime +Disabled: true diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 5e833fb2..228d1de4 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -240,7 +240,6 @@ patch_enable_all () enable_ntdll_SystemRecommendedSharedDataAlignment="$1" enable_ntdll_SystemRoot_Symlink="$1" enable_ntdll_ThreadTime="$1" - enable_ntdll_Thread_Stack="$1" enable_ntdll_Threading="$1" enable_ntdll_User_Shared_Data="$1" enable_ntdll_WRITECOPY="$1" @@ -901,9 +900,6 @@ patch_enable () ntdll-ThreadTime) enable_ntdll_ThreadTime="$2" ;; - ntdll-Thread_Stack) - enable_ntdll_Thread_Stack="$2" - ;; ntdll-Threading) enable_ntdll_Threading="$2" ;; @@ -2170,13 +2166,6 @@ if test "$enable_ntdll_WRITECOPY" -eq 1; then enable_ws2_32_WriteWatches=1 fi -if test "$enable_ntdll_Thread_Stack" -eq 1; then - if test "$enable_ntdll_ThreadTime" -gt 1; then - abort "Patchset ntdll-ThreadTime disabled, but ntdll-Thread_Stack depends on that." - fi - enable_ntdll_ThreadTime=1 -fi - if test "$enable_ntdll_SystemRoot_Symlink" -eq 1; then if test "$enable_ntdll_Exception" -gt 1; then abort "Patchset ntdll-Exception disabled, but ntdll-SystemRoot_Symlink depends on that." @@ -5307,23 +5296,6 @@ if test "$enable_ntdll_ThreadTime" -eq 1; then ) >> "$patchlist" fi -# Patchset ntdll-Thread_Stack -# | -# | This patchset has the following (direct or indirect) dependencies: -# | * ntdll-ThreadTime -# | -# | Modified files: -# | * dlls/ntdll/signal_i386.c, dlls/ntdll/signal_x86_64.c, dlls/ntdll/thread.c -# | -if test "$enable_ntdll_Thread_Stack" -eq 1; then - patch_apply ntdll-Thread_Stack/0001-ntdll-Use-a-separate-stack-when-starting-new-threads.patch - patch_apply ntdll-Thread_Stack/0002-ntdll-Ignore-invalid-exit_frame-when-exiting-thread.patch - ( - echo '+ { "Sebastian Lackner", "ntdll: Use a separate stack when starting new threads.", 1 },'; - echo '+ { "Sebastian Lackner", "ntdll: Ignore invalid exit_frame when exiting thread.", 1 },'; - ) >> "$patchlist" -fi - # Patchset ntdll-Threading # | # | Modified files: