summaryrefslogtreecommitdiffstats
path: root/base/process_util.h
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 00:20:01 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 00:20:01 +0000
commit3fa5cc11a02c86170fde740a2dc6bc2f7ef1d851 (patch)
treedae82d10b4485ceb6261cd3f318470b3f97c90a6 /base/process_util.h
parent5b99724ed67011e9ef4231ec2796a5237cdf8e88 (diff)
downloadchromium_src-3fa5cc11a02c86170fde740a2dc6bc2f7ef1d851.zip
chromium_src-3fa5cc11a02c86170fde740a2dc6bc2f7ef1d851.tar.gz
chromium_src-3fa5cc11a02c86170fde740a2dc6bc2f7ef1d851.tar.bz2
Revert 90681 - New NaCl zygote implementation 2, in which Chrome zygote forks a NaCl helper.
This patch can launch earth_c.html with and without the SUID sandbox. It is enabled with the environment variable NACL_NEW_ZYGOTE. BUG=nativeclient:480 TEST=nativeclient in-browser tests on Linux, ChromeOS Review URL: http://codereview.chromium.org/6995121 TBR=bradchen@google.com Review URL: http://codereview.chromium.org/7274011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90682 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r--base/process_util.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/base/process_util.h b/base/process_util.h
index 9f66669..3e758d4 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -286,15 +286,6 @@ BASE_API bool LaunchAppInNewProcessGroup(
bool wait,
ProcessHandle* process_handle);
-#if defined(OS_LINUX)
-// Similar to LaunchApp variants above except uses clone(.. clone_flags ..)
-// 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);
-#endif
-
// 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