| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "sandbox/src/nt_internals.h" | 5 #include "sandbox/win/src/nt_internals.h" |
| 6 #include "sandbox/src/sandbox_types.h" | 6 #include "sandbox/win/src/sandbox_types.h" |
| 7 | 7 |
| 8 #ifndef SANDBOX_SRC_POLICY_TARGET_H__ | 8 #ifndef SANDBOX_SRC_POLICY_TARGET_H__ |
| 9 #define SANDBOX_SRC_POLICY_TARGET_H__ | 9 #define SANDBOX_SRC_POLICY_TARGET_H__ |
| 10 | 10 |
| 11 namespace sandbox { | 11 namespace sandbox { |
| 12 | 12 |
| 13 struct CountedParameterSetBase; | 13 struct CountedParameterSetBase; |
| 14 | 14 |
| 15 // Performs a policy lookup and returns true if the request should be passed to | 15 // Performs a policy lookup and returns true if the request should be passed to |
| 16 // the broker process. | 16 // the broker process. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtOpenThreadTokenEx( | 36 SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtOpenThreadTokenEx( |
| 37 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, | 37 NtOpenThreadTokenExFunction orig_OpenThreadTokenEx, HANDLE thread, |
| 38 ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, | 38 ACCESS_MASK desired_access, BOOLEAN open_as_self, ULONG handle_attributes, |
| 39 PHANDLE token); | 39 PHANDLE token); |
| 40 | 40 |
| 41 } // extern "C" | 41 } // extern "C" |
| 42 | 42 |
| 43 } // namespace sandbox | 43 } // namespace sandbox |
| 44 | 44 |
| 45 #endif // SANDBOX_SRC_POLICY_TARGET_H__ | 45 #endif // SANDBOX_SRC_POLICY_TARGET_H__ |
| OLD | NEW |