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

Side by Side Diff: sandbox/win/src/interceptors.h

Issue 318603003: Sandbox policy and intercepts for the MITIGATION_WIN32K_DISABLE policy for renderer processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review comments tests Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_SRC_INTERCEPTORS_H_ 5 #ifndef SANDBOX_SRC_INTERCEPTORS_H_
6 #define SANDBOX_SRC_INTERCEPTORS_H_ 6 #define SANDBOX_SRC_INTERCEPTORS_H_
7 7
8 #if defined(_WIN64) 8 #if defined(_WIN64)
9 #include "sandbox/win/src/interceptors_64.h" 9 #include "sandbox/win/src/interceptors_64.h"
10 #endif 10 #endif
(...skipping 26 matching lines...) Expand all
37 // Registry dispatcher: 37 // Registry dispatcher:
38 CREATE_KEY_ID, 38 CREATE_KEY_ID,
39 OPEN_KEY_ID, 39 OPEN_KEY_ID,
40 OPEN_KEY_EX_ID, 40 OPEN_KEY_EX_ID,
41 // Sync dispatcher: 41 // Sync dispatcher:
42 CREATE_EVENT_ID, 42 CREATE_EVENT_ID,
43 OPEN_EVENT_ID, 43 OPEN_EVENT_ID,
44 // CSRSS bypasses for HandleCloser: 44 // CSRSS bypasses for HandleCloser:
45 CREATE_THREAD_ID, 45 CREATE_THREAD_ID,
46 GET_USER_DEFAULT_LCID_ID, 46 GET_USER_DEFAULT_LCID_ID,
47 // Process mitigations Win32k dispatcher:
48 GDIINITIALIZE_ID,
49 GETSTOCKOBJECT_ID,
50 REGISTERCLASSW_ID,
47 INTERCEPTOR_MAX_ID 51 INTERCEPTOR_MAX_ID
48 }; 52 };
49 53
50 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; 54 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID];
51 55
52 } // namespace sandbox 56 } // namespace sandbox
53 57
54 #endif // SANDBOX_SRC_INTERCEPTORS_H_ 58 #endif // SANDBOX_SRC_INTERCEPTORS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698