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