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

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

Issue 1856993003: Implement sandbox hooks to forward OPM related GDI system calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced shared memory implementation. Created 4 years, 8 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
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 28 matching lines...) Expand all
39 CREATE_KEY_ID, 39 CREATE_KEY_ID,
40 OPEN_KEY_ID, 40 OPEN_KEY_ID,
41 OPEN_KEY_EX_ID, 41 OPEN_KEY_EX_ID,
42 // Sync dispatcher: 42 // Sync dispatcher:
43 CREATE_EVENT_ID, 43 CREATE_EVENT_ID,
44 OPEN_EVENT_ID, 44 OPEN_EVENT_ID,
45 // Process mitigations Win32k dispatcher: 45 // Process mitigations Win32k dispatcher:
46 GDIINITIALIZE_ID, 46 GDIINITIALIZE_ID,
47 GETSTOCKOBJECT_ID, 47 GETSTOCKOBJECT_ID,
48 REGISTERCLASSW_ID, 48 REGISTERCLASSW_ID,
49 ENUMDISPLAYMONITORS_ID,
50 ENUMDISPLAYDEVICESA_ID,
51 GETMONITORINFOA_ID,
52 GETMONITORINFOW_ID,
53 CREATEOPMPROTECTEDOUTPUTS_ID,
54 GETCERTIFICATE_ID,
55 GETCERTIFICATESIZE_ID,
56 DESTROYOPMPROTECTEDOUTPUT_ID,
57 CONFIGUREOPMPROTECTEDOUTPUT_ID,
58 GETOPMINFORMATION_ID,
59 GETOPMRANDOMNUMBER_ID,
60 GETSUGGESTEDOPMPROTECTEDOUTPUTARRAYSIZE_ID,
61 SETOPMSIGNINGKEYANDSEQUENCENUMBERS_ID,
49 INTERCEPTOR_MAX_ID 62 INTERCEPTOR_MAX_ID
50 }; 63 };
51 64
52 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; 65 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID];
53 66
54 } // namespace sandbox 67 } // namespace sandbox
55 68
56 #endif // SANDBOX_SRC_INTERCEPTORS_H_ 69 #endif // SANDBOX_SRC_INTERCEPTORS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698