From 965789d2210eaef540d67b0cfd577cf74703c9d6 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 9 Aug 2023 12:11:22 +1000 Subject: [PATCH] Rebase against ee1d3a19a4b8571ba32bdf9af845a74bca22c97b. --- ...dd-basic-tests-for-RtlQueryPackageIdent.patch | 16 ++++++++-------- staging/upstream-commit | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/patches/ntdll-RtlQueryPackageIdentity/0003-ntdll-tests-Add-basic-tests-for-RtlQueryPackageIdent.patch b/patches/ntdll-RtlQueryPackageIdentity/0003-ntdll-tests-Add-basic-tests-for-RtlQueryPackageIdent.patch index 4460f8b6..4cb2aa5b 100644 --- a/patches/ntdll-RtlQueryPackageIdentity/0003-ntdll-tests-Add-basic-tests-for-RtlQueryPackageIdent.patch +++ b/patches/ntdll-RtlQueryPackageIdentity/0003-ntdll-tests-Add-basic-tests-for-RtlQueryPackageIdent.patch @@ -1,4 +1,4 @@ -From 60fc38b76fb1fa1f70f37eacc50127fe8de30840 Mon Sep 17 00:00:00 2001 +From 3242c225381a5beb2690402b8e37179bb9f3e71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sun, 17 Jan 2016 00:50:50 +0100 Subject: [PATCH] ntdll/tests: Add basic tests for RtlQueryPackageIdentity. @@ -20,12 +20,12 @@ index 90deb5865f8..428ebde23b3 100644 C_SRCS = \ atom.c \ diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c -index b1ef492627a..e13b24a0219 100644 +index 117d9eed067..1255ad93dd8 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c -@@ -28,6 +28,9 @@ - #include "inaddr.h" +@@ -29,6 +29,9 @@ #include "ip2string.h" + #include "ddk/ntifs.h" #include "wine/asm.h" +#include "initguid.h" +#define COBJMACROS @@ -33,7 +33,7 @@ index b1ef492627a..e13b24a0219 100644 #ifndef __WINE_WINTERNL_H -@@ -95,6 +98,9 @@ static BOOL (WINAPI *pRtlIsCriticalSectionLocked)(CRITICAL_SECTION *); +@@ -96,6 +99,9 @@ static BOOL (WINAPI *pRtlIsCriticalSectionLocked)(CRITICAL_SECTION *); static BOOL (WINAPI *pRtlIsCriticalSectionLockedByThread)(CRITICAL_SECTION *); static NTSTATUS (WINAPI *pRtlInitializeCriticalSectionEx)(CRITICAL_SECTION *, ULONG, ULONG); static NTSTATUS (WINAPI *pLdrEnumerateLoadedModules)(void *, void *, void *); @@ -43,7 +43,7 @@ index b1ef492627a..e13b24a0219 100644 static NTSTATUS (WINAPI *pLdrRegisterDllNotification)(ULONG, PLDR_DLL_NOTIFICATION_FUNCTION, void *, void **); static NTSTATUS (WINAPI *pLdrUnregisterDllNotification)(void *); -@@ -137,6 +143,9 @@ static void InitFunctionPtrs(void) +@@ -138,6 +144,9 @@ static void InitFunctionPtrs(void) pRtlIsCriticalSectionLockedByThread = (void *)GetProcAddress(hntdll, "RtlIsCriticalSectionLockedByThread"); pRtlInitializeCriticalSectionEx = (void *)GetProcAddress(hntdll, "RtlInitializeCriticalSectionEx"); pLdrEnumerateLoadedModules = (void *)GetProcAddress(hntdll, "LdrEnumerateLoadedModules"); @@ -53,7 +53,7 @@ index b1ef492627a..e13b24a0219 100644 pLdrRegisterDllNotification = (void *)GetProcAddress(hntdll, "LdrRegisterDllNotification"); pLdrUnregisterDllNotification = (void *)GetProcAddress(hntdll, "LdrUnregisterDllNotification"); } -@@ -3608,6 +3617,76 @@ static void test_RtlFirstFreeAce(void) +@@ -3609,6 +3618,76 @@ static void test_RtlFirstFreeAce(void) HeapFree(GetProcessHeap(), 0, acl); } @@ -130,7 +130,7 @@ index b1ef492627a..e13b24a0219 100644 static void test_RtlInitializeSid(void) { SID_IDENTIFIER_AUTHORITY sid_ident = { SECURITY_NT_AUTHORITY }; -@@ -3687,6 +3766,7 @@ START_TEST(rtl) +@@ -3688,6 +3767,7 @@ START_TEST(rtl) test_RtlInitializeCriticalSectionEx(); test_RtlLeaveCriticalSection(); test_LdrEnumerateLoadedModules(); diff --git a/staging/upstream-commit b/staging/upstream-commit index 32f276c2..8c52d8f5 100644 --- a/staging/upstream-commit +++ b/staging/upstream-commit @@ -1 +1 @@ -b80ea4153b096970514f86f385a37c9ceaceada2 +ee1d3a19a4b8571ba32bdf9af845a74bca22c97b