Disable ntdll-NtAlertThreadByThreadId patchset

This patchset is causing applications to freeze on startup (intermittently).

Disabled until the root cause can be fixed.
This commit is contained in:
Alistair Leslie-Hughes
2020-12-13 09:05:30 +11:00
parent a8684593e2
commit 8cbc70df46
5 changed files with 34 additions and 93 deletions

View File

@@ -1,4 +1,4 @@
From d02623b1c4d0fa97ea990d160529ecd98da08a85 Mon Sep 17 00:00:00 2001
From 0cf6433af95363c5fbba2af482b2ba50b863dfb7 Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Thu, 2 Oct 2014 19:44:31 +0200
Subject: [PATCH] ntdll: Print a warning message specifying the wine-staging
@@ -9,7 +9,7 @@ Subject: [PATCH] ntdll: Print a warning message specifying the wine-staging
1 file changed, 15 insertions(+)
diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c
index 440a77d4063..3e3acdc5eac 100644
index 20bc3f977d1..c2187a19397 100644
--- a/dlls/ntdll/loader.c
+++ b/dlls/ntdll/loader.c
@@ -44,6 +44,7 @@ WINE_DECLARE_DEBUG_CHANNEL(relay);
@@ -20,7 +20,7 @@ index 440a77d4063..3e3acdc5eac 100644
#ifdef _WIN64
#define DEFAULT_SECURITY_COOKIE_64 (((ULONGLONG)0x00002b99 << 32) | 0x2ddfa232)
@@ -3509,6 +3510,7 @@ static void process_breakpoint(void)
@@ -3456,6 +3457,7 @@ static void process_breakpoint(void)
__ENDTRY
}
@@ -28,7 +28,7 @@ index 440a77d4063..3e3acdc5eac 100644
/******************************************************************
* LdrInitializeThunk (NTDLL.@)
@@ -3518,6 +3520,9 @@ static void process_breakpoint(void)
@@ -3465,6 +3467,9 @@ static void process_breakpoint(void)
*/
void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR unknown3, ULONG_PTR unknown4 )
{
@@ -38,7 +38,7 @@ index 440a77d4063..3e3acdc5eac 100644
static int attach_done;
int i;
NTSTATUS status;
@@ -3536,6 +3541,16 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR
@@ -3483,6 +3488,16 @@ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unknown2, ULONG_PTR
entry = (void **)&context->u.s.X0;
#endif
@@ -54,7 +54,7 @@ index 440a77d4063..3e3acdc5eac 100644
+
if (process_detaching) NtTerminateThread( GetCurrentThread(), 0 );
teb_list_wrlock();
RtlEnterCriticalSection( &loader_section );
--
2.29.2
2.28.0

View File

@@ -1 +1 @@
Depends: ntdll-NtAlertThreadByThreadId
#Depends: ntdll-NtAlertThreadByThreadId