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

Unified Diff: sandbox/win/src/policy_target.cc

Issue 937353002: Adding method to create process using LowBox token in sandbox code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment casing. Created 5 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
Index: sandbox/win/src/policy_target.cc
diff --git a/sandbox/win/src/policy_target.cc b/sandbox/win/src/policy_target.cc
index 84b72037db68117aa4106c9754ae448f9cb5953d..fb464cc0cb737a7940716f8553f9b99855126a11 100644
--- a/sandbox/win/src/policy_target.cc
+++ b/sandbox/win/src/policy_target.cc
@@ -79,16 +79,6 @@ NTSTATUS WINAPI TargetNtSetInformationThread(
break;
if (ThreadImpersonationToken != thread_info_class)
break;
- if (!thread_information)
- break;
- HANDLE token;
- if (sizeof(token) > thread_information_bytes)
- break;
-
- NTSTATUS ret = CopyData(&token, thread_information, sizeof(token));
- if (!NT_SUCCESS(ret) || NULL != token)
- break;
-
cpu_(ooo_6.6-7.5) 2015/02/28 02:13:53 can you remind me of why this removal?
Shrikant Kelkar 2015/02/28 02:33:46 I forgot the exact number, but a call from wininet
// This is a revert to self.
return STATUS_SUCCESS;
} while (false);

Powered by Google App Engine
This is Rietveld 408576698