| OLD | NEW |
| 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 21 matching lines...) Expand all Loading... |
| 32 // Named pipe dispatcher: | 32 // Named pipe dispatcher: |
| 33 CREATE_NAMED_PIPE_ID, | 33 CREATE_NAMED_PIPE_ID, |
| 34 // Process-thread dispatcher: | 34 // Process-thread dispatcher: |
| 35 CREATE_PROCESSW_ID, | 35 CREATE_PROCESSW_ID, |
| 36 CREATE_PROCESSA_ID, | 36 CREATE_PROCESSA_ID, |
| 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_EVENTW_ID, | 42 CREATE_EVENT_ID, |
| 43 CREATE_EVENTA_ID, | 43 OPEN_EVENT_ID, |
| 44 OPEN_EVENTW_ID, | |
| 45 OPEN_EVENTA_ID, | |
| 46 // CSRSS bypasses for HandleCloser: | 44 // CSRSS bypasses for HandleCloser: |
| 47 CREATE_THREAD_ID, | 45 CREATE_THREAD_ID, |
| 48 GET_USER_DEFAULT_LCID_ID, | 46 GET_USER_DEFAULT_LCID_ID, |
| 49 INTERCEPTOR_MAX_ID | 47 INTERCEPTOR_MAX_ID |
| 50 }; | 48 }; |
| 51 | 49 |
| 52 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; | 50 typedef void* OriginalFunctions[INTERCEPTOR_MAX_ID]; |
| 53 | 51 |
| 54 } // namespace sandbox | 52 } // namespace sandbox |
| 55 | 53 |
| 56 #endif // SANDBOX_SRC_INTERCEPTORS_H_ | 54 #endif // SANDBOX_SRC_INTERCEPTORS_H_ |
| OLD | NEW |