Index: sandbox/src/policy_broker.cc |
=================================================================== |
--- sandbox/src/policy_broker.cc (revision 41493) |
+++ sandbox/src/policy_broker.cc (working copy) |
@@ -88,14 +88,11 @@ |
#undef INIT_GLOBAL_RTL |
bool SetupBasicInterceptions(InterceptionManager* manager) { |
-#if !defined(_WIN64) |
- // Bug 27218: We don't have dispatch for some x64 syscalls. |
// Interceptions provided by process_thread_policy, without actual policy. |
if (!INTERCEPT_NT(manager, NtOpenThread, OPEN_TREAD_ID, 20) || |
!INTERCEPT_NT(manager, NtOpenProcess, OPEN_PROCESS_ID, 20) || |
!INTERCEPT_NT(manager, NtOpenProcessToken, OPEN_PROCESS_TOKEN_ID, 16)) |
return false; |
-#endif |
// Interceptions with neither policy nor IPC. |
if (!INTERCEPT_NT(manager, NtSetInformationThread, SET_INFORMATION_THREAD_ID, |
@@ -104,13 +101,11 @@ |
return false; |
if (win_util::GetWinVersion() >= win_util::WINVERSION_XP) { |
-#if !defined(_WIN64) |
// Bug 27218: We don't have dispatch for some x64 syscalls. |
// This one is also provided by process_thread_policy. |
if (!INTERCEPT_NT(manager, NtOpenProcessTokenEx, OPEN_PROCESS_TOKEN_EX_ID, |
20)) |
return false; |
-#endif |
return INTERCEPT_NT(manager, NtOpenThreadTokenEx, OPEN_THREAD_TOKEN_EX_ID, |
24); |