Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: sandbox/win/tests/common/controller.cc

Issue 1225183003: CreateThread interception, to use CreateRemoteThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix up casts Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sandbox/win/src/top_level_dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/tests/common/controller.cc
diff --git a/sandbox/win/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc
index c9c63aedbe393240ef03328d7b8194b40dfdb870..3b7105780b2c4184053b005cbd10e5a1973b31ff 100644
--- a/sandbox/win/tests/common/controller.cc
+++ b/sandbox/win/tests/common/controller.cc
@@ -213,12 +213,8 @@ int TestRunner::InternalRunTest(const wchar_t* command) {
target_process_id_ = 0;
}
- if (disable_csrss_) {
- // Close all ALPC ports to disable CSRSS.
- if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
- policy_->AddKernelObjectToClose(L"ALPC Port", NULL);
- }
- }
+ if (disable_csrss_)
+ policy_->SetDisconnectCsrss();
// Get the path to the sandboxed process.
wchar_t prog_name[MAX_PATH];
« no previous file with comments | « sandbox/win/src/top_level_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698