diff options
author | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 00:40:48 +0000 |
---|---|---|
committer | piman@google.com <piman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-22 00:40:48 +0000 |
commit | 4730db95815ec2cd4d12063a14cff7cbbeb5fe61 (patch) | |
tree | 42d41fc0c4a3dc043b1bee04b607c3be9febef4f /chrome/browser/zygote_host_linux.cc | |
parent | 61b8ad79a502d0b3666305307e3cba9208a6c2e9 (diff) | |
download | chromium_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.cc | 3 |
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; |