Index: base/process_util.h |
diff --git a/base/process_util.h b/base/process_util.h |
index 3e758d4defdd3ad4707f2532b5258b83e12875a6..7a6b012bbcf2af7806f217ffa33e3f19f3bdc759 100644 |
--- a/base/process_util.h |
+++ b/base/process_util.h |
@@ -286,6 +286,13 @@ BASE_API bool LaunchAppInNewProcessGroup( |
bool wait, |
ProcessHandle* process_handle); |
+// Similar to LaunchApp variants above except uses clone(.. clone_flags ..) |
agl
2011/06/10 17:28:03
I think this should be in an #if defined(OS_LINUX)
Brad Chen
2011/06/14 00:16:01
Done.
|
+// rather than fork(). This is useful for work inside the setuid sandbox. |
+BASE_API bool LaunchAppWithClone(const std::vector<std::string>& argv, |
+ const file_handle_mapping_vector& fds_to_remap, |
+ bool wait, ProcessHandle* process_handle, |
+ int clone_flags); |
+ |
// AlterEnvironment returns a modified environment vector, constructed from the |
// given environment and the list of changes given in |changes|. Each key in |
// the environment is matched against the first element of the pairs. In the |