OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sandbox/src/process_thread_dispatcher.h" | 5 #include "sandbox/src/process_thread_dispatcher.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/win_util.h" | |
10 #include "sandbox/src/crosscall_client.h" | 9 #include "sandbox/src/crosscall_client.h" |
11 #include "sandbox/src/interception.h" | 10 #include "sandbox/src/interception.h" |
12 #include "sandbox/src/interceptors.h" | 11 #include "sandbox/src/interceptors.h" |
13 #include "sandbox/src/ipc_tags.h" | 12 #include "sandbox/src/ipc_tags.h" |
14 #include "sandbox/src/policy_broker.h" | 13 #include "sandbox/src/policy_broker.h" |
15 #include "sandbox/src/policy_params.h" | 14 #include "sandbox/src/policy_params.h" |
16 #include "sandbox/src/process_thread_interception.h" | 15 #include "sandbox/src/process_thread_interception.h" |
17 #include "sandbox/src/process_thread_policy.h" | 16 #include "sandbox/src/process_thread_policy.h" |
18 #include "sandbox/src/sandbox.h" | 17 #include "sandbox/src/sandbox.h" |
19 | 18 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // If our logic was wrong, at least we wont allow create a random process. | 236 // If our logic was wrong, at least we wont allow create a random process. |
238 DWORD ret = ProcessPolicy::CreateProcessWAction(eval, *ipc->client_info, | 237 DWORD ret = ProcessPolicy::CreateProcessWAction(eval, *ipc->client_info, |
239 exe_name, *cmd_line, | 238 exe_name, *cmd_line, |
240 proc_info); | 239 proc_info); |
241 | 240 |
242 ipc->return_info.win32_result = ret; | 241 ipc->return_info.win32_result = ret; |
243 return true; | 242 return true; |
244 } | 243 } |
245 | 244 |
246 } // namespace sandbox | 245 } // namespace sandbox |
OLD | NEW |