Rebase against 8d076bc5e46cc11ec94db631e7c608f62d75cee2.

This commit is contained in:
Zebediah Figura
2021-04-06 17:41:23 -05:00
parent 733a420dd7
commit 0c295023f1
9 changed files with 85 additions and 104 deletions

View File

@ -1,4 +1,4 @@
From d0f1e23c56e0c4b1fa01f73dc0ed8fa4b6141710 Mon Sep 17 00:00:00 2001
From 2d1f48433946ac413d78bc3e4b0750d26a56b353 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Fri, 22 May 2020 16:37:37 +1000
Subject: [PATCH] ntdll: NtQuerySystemInformation support
@ -12,12 +12,12 @@ Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2 files changed, 43 insertions(+)
diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c
index 56f31e4147f..be8f1d74fe3 100644
index 2b316095f4a..72fd47b6c39 100644
--- a/dlls/ntdll/unix/system.c
+++ b/dlls/ntdll/unix/system.c
@@ -2809,6 +2809,28 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
ret = STATUS_SUCCESS;
@@ -2827,6 +2827,28 @@ NTSTATUS WINAPI NtQuerySystemInformation( SYSTEM_INFORMATION_CLASS class,
break;
}
+ case SystemCodeIntegrityInformation:
+ {
@ -45,11 +45,11 @@ index 56f31e4147f..be8f1d74fe3 100644
FIXME( "(0x%08x,%p,0x%08x,%p) stub\n", class, info, size, ret_size );
diff --git a/include/winternl.h b/include/winternl.h
index 9e6bde25569..6bbf7fdbe99 100644
index 298ebbc2d36..7632cfcb999 100644
--- a/include/winternl.h
+++ b/include/winternl.h
@@ -1696,6 +1696,27 @@ typedef enum _SYSTEM_INFORMATION_CLASS {
SystemInformationClassMax
@@ -1698,6 +1698,27 @@ typedef enum _SYSTEM_INFORMATION_CLASS {
#endif
} SYSTEM_INFORMATION_CLASS, *PSYSTEM_INFORMATION_CLASS;
+typedef struct _SYSTEM_CODEINTEGRITY_INFORMATION