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

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

Issue 10907217: Revert 156550 - Add sandbox support for Windows process mitigations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/src/dep_test.cc ('k') | sandbox/win/src/process_mitigations.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
===================================================================
--- sandbox/win/src/nt_internals.h (revision 156553)
+++ sandbox/win/src/nt_internals.h (working copy)
@@ -4,8 +4,8 @@
// This file holds definitions related to the ntdll API.
-#ifndef SANDBOX_WIN_SRC_NT_INTERNALS_H__
-#define SANDBOX_WIN_SRC_NT_INTERNALS_H__
+#ifndef SANDBOX_SRC_NT_INTERNALS_H__
+#define SANDBOX_SRC_NT_INTERNALS_H__
#include <windows.h>
@@ -292,8 +292,7 @@
// Partial definition only:
typedef enum _PROCESSINFOCLASS {
- ProcessBasicInformation = 0,
- ProcessExecuteFlags = 0x22
+ ProcessBasicInformation = 0
} PROCESSINFOCLASS;
typedef PVOID PPEB;
@@ -315,12 +314,6 @@
IN ULONG ProcessInformationLength,
OUT PULONG ReturnLength OPTIONAL);
-typedef NTSTATUS (WINAPI *NtSetInformationProcessFunction)(
- HANDLE ProcessHandle,
- IN PROCESSINFOCLASS ProcessInformationClass,
- IN PVOID ProcessInformation,
- IN ULONG ProcessInformationLength);
-
typedef NTSTATUS (WINAPI *NtOpenThreadTokenFunction) (
IN HANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
@@ -615,5 +608,4 @@
IN OUT PUNICODE_STRING DestinationString,
IN PCWSTR SourceString);
-#endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__
-
+#endif // SANDBOX_SRC_NT_INTERNALS_H__
« no previous file with comments | « sandbox/win/src/dep_test.cc ('k') | sandbox/win/src/process_mitigations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698