OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <stddef.h> |
| 6 |
5 #include <map> | 7 #include <map> |
6 | 8 |
7 #include "sandbox/win/src/policy_broker.h" | 9 #include "sandbox/win/src/policy_broker.h" |
8 | 10 |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/win/pe_image.h" | 12 #include "base/win/pe_image.h" |
11 #include "base/win/windows_version.h" | 13 #include "base/win/windows_version.h" |
12 #include "sandbox/win/src/interception.h" | 14 #include "sandbox/win/src/interception.h" |
13 #include "sandbox/win/src/interceptors.h" | 15 #include "sandbox/win/src/interceptors.h" |
14 #include "sandbox/win/src/policy_target.h" | 16 #include "sandbox/win/src/policy_target.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 return false; | 117 return false; |
116 | 118 |
117 return INTERCEPT_NT(manager, NtOpenThreadTokenEx, OPEN_THREAD_TOKEN_EX_ID, | 119 return INTERCEPT_NT(manager, NtOpenThreadTokenEx, OPEN_THREAD_TOKEN_EX_ID, |
118 24); | 120 24); |
119 } | 121 } |
120 | 122 |
121 return true; | 123 return true; |
122 } | 124 } |
123 | 125 |
124 } // namespace sandbox | 126 } // namespace sandbox |
OLD | NEW |