Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(516)

Unified Diff: sandbox/win/src/nt_internals.h

Issue 1328703003: Correct PROCESS_BASIC_INFORMATION for 64 bit Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/sandbox_win.gypi ('k') | sandbox/win/src/policy_broker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/nt_internals.h
diff --git a/sandbox/win/src/nt_internals.h b/sandbox/win/src/nt_internals.h
index 40b29c6beb3276415bf845b19deb9458bca08a21..95481c99cfe6c3c8de794e6f98d51f4eb7ade201 100644
--- a/sandbox/win/src/nt_internals.h
+++ b/sandbox/win/src/nt_internals.h
@@ -311,12 +311,12 @@ typedef PVOID PPEB;
typedef PVOID KPRIORITY;
typedef struct _PROCESS_BASIC_INFORMATION {
- NTSTATUS ExitStatus;
+ PVOID ExitStatus;
scottmg 2015/09/03 16:18:52 This should be NTSTATUS on both x86 and x64, follo
rickyz (no longer on Chrome) 2015/09/03 19:16:29 Done.
PPEB PebBaseAddress;
KAFFINITY AffinityMask;
KPRIORITY BasePriority;
scottmg 2015/09/03 16:18:52 KPRIORITY is also 4 bytes, so this should be follo
rickyz (no longer on Chrome) 2015/09/03 19:16:29 Oops, fixed the definition of KPRIORITY in the fil
- ULONG UniqueProcessId;
- ULONG InheritedFromUniqueProcessId;
+ ULONG_PTR UniqueProcessId;
scottmg 2015/09/03 16:18:52 ... because both the ProcessIds are both ULONG_PTR
rickyz (no longer on Chrome) 2015/09/03 19:16:29 Yeah.. the ExitStatus one I can understand - that'
+ PVOID InheritedFromUniqueProcessId;
} PROCESS_BASIC_INFORMATION, *PPROCESS_BASIC_INFORMATION;
typedef NTSTATUS (WINAPI *NtQueryInformationProcessFunction)(
« no previous file with comments | « sandbox/win/sandbox_win.gypi ('k') | sandbox/win/src/policy_broker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698