michael@0: // Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #include "sandbox/win/src/nt_internals.h" michael@0: #include "sandbox/win/src/sandbox_types.h" michael@0: michael@0: #ifndef SANDBOX_SRC_HANDLE_INTERCEPTION_H_ michael@0: #define SANDBOX_SRC_HANDLE_INTERCEPTION_H_ michael@0: michael@0: namespace sandbox { michael@0: michael@0: // TODO(jschuh) Add an interception to catch dangerous DuplicateHandle calls. michael@0: michael@0: ResultCode DuplicateHandleProxy(HANDLE source_handle, michael@0: DWORD target_process_id, michael@0: HANDLE* target_handle, michael@0: DWORD desired_access, michael@0: DWORD options); michael@0: michael@0: } // namespace sandbox michael@0: michael@0: #endif // SANDBOX_SRC_HANDLE_INTERCEPTION_H_ michael@0: