| Index: sandbox/win/src/interceptors_64.cc
|
| diff --git a/sandbox/win/src/interceptors_64.cc b/sandbox/win/src/interceptors_64.cc
|
| index ef0b5f0017aac0fdcfef874271d0e4e75118de7e..3f81dd23cabb94476fc6219506e36658ebd26e49 100644
|
| --- a/sandbox/win/src/interceptors_64.cc
|
| +++ b/sandbox/win/src/interceptors_64.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "sandbox/win/src/interceptors.h"
|
| #include "sandbox/win/src/filesystem_interception.h"
|
| +#include "sandbox/win/src/lpc_interception.h"
|
| #include "sandbox/win/src/named_pipe_interception.h"
|
| #include "sandbox/win/src/policy_target.h"
|
| #include "sandbox/win/src/process_mitigations_win32k_interception.h"
|
| @@ -275,4 +276,23 @@ SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64(
|
| return TargetRegisterClassW(orig_fn, wnd_class);
|
| }
|
|
|
| +SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtAlpcConnectPort64(
|
| + PHANDLE port_handle,
|
| + PUNICODE_STRING port_name,
|
| + POBJECT_ATTRIBUTES object_attributes,
|
| + void* port_attributes,
|
| + ULONG flags,
|
| + void* sid,
|
| + void* connection_message,
|
| + ULONG* buffer_length,
|
| + void* out_message_attributes,
|
| + void* in_message_attributes,
|
| + PLARGE_INTEGER timeout) {
|
| + NtAlpcConnectPortFunction orig_fn = reinterpret_cast<
|
| + NtAlpcConnectPortFunction>(g_originals[NTCONNECTALPCPORT_ID]);
|
| + return TargetNtAlpcConnectPort(orig_fn, port_handle, port_name,
|
| + object_attributes, port_attributes, flags, sid, connection_message,
|
| + buffer_length, out_message_attributes, in_message_attributes, time_out);
|
| +}
|
| +
|
| } // namespace sandbox
|
|
|