summaryrefslogtreecommitdiffstats
path: root/chrome/browser/zygote_host_linux.cc
diff options
context:
space:
mode:
authorpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:40:48 +0000
committerpiman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-22 00:40:48 +0000
commit4730db95815ec2cd4d12063a14cff7cbbeb5fe61 (patch)
tree42d41fc0c4a3dc043b1bee04b607c3be9febef4f /chrome/browser/zygote_host_linux.cc
parent61b8ad79a502d0b3666305307e3cba9208a6c2e9 (diff)
downloadchromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.zip
chromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.tar.gz
chromium_src-4730db95815ec2cd4d12063a14cff7cbbeb5fe61.tar.bz2
linux: add command-line flag to allow debugging of sandboxed processes
Review URL: http://codereview.chromium.org/159124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21248 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.cc')
-rw-r--r--chrome/browser/zygote_host_linux.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc
index b055834..9f9e4aa 100644
--- a/chrome/browser/zygote_host_linux.cc
+++ b/chrome/browser/zygote_host_linux.cc
@@ -64,6 +64,9 @@ ZygoteHost::ZygoteHost() {
browser_command_line.GetSwitchValue(switches::kZygoteCmdPrefix);
cmd_line.PrependWrapper(prefix);
}
+ if (browser_command_line.HasSwitch(switches::kAllowSandboxDebugging)) {
+ cmd_line.AppendSwitch(switches::kAllowSandboxDebugging);
+ }
const char* sandbox_binary = NULL;
struct stat st;