summaryrefslogtreecommitdiffstats
path: root/content/browser/zygote_main_linux.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 23:27:43 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 23:27:43 +0000
commit860a243bb477547191401243467df1b18ab69f7c (patch)
tree4ae0966dfcec241480b00ffdbc278a4c9be14f77 /content/browser/zygote_main_linux.cc
parent750fcf8791a39574861f9ef27d45023a55bd4e22 (diff)
downloadchromium_src-860a243bb477547191401243467df1b18ab69f7c.zip
chromium_src-860a243bb477547191401243467df1b18ab69f7c.tar.gz
chromium_src-860a243bb477547191401243467df1b18ab69f7c.tar.bz2
linux: turn seccomp on by default in debug
Print a warning about it on startup for now since I expect some bot somewhere to go bad. Review URL: http://codereview.chromium.org/7570002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/zygote_main_linux.cc')
-rw-r--r--content/browser/zygote_main_linux.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/browser/zygote_main_linux.cc b/content/browser/zygote_main_linux.cc
index 2f156ed..55254f7 100644
--- a/content/browser/zygote_main_linux.cc
+++ b/content/browser/zygote_main_linux.cc
@@ -799,7 +799,10 @@ bool ZygoteMain(const MainFunctionParams& params,
"Seccomp sandbox. Running renderers with Seccomp "
"sandboxing disabled.";
} else {
- LOG(WARNING) << "Enabling experimental Seccomp sandbox.";
+ // TODO(evan): switch to VLOG once we shake out all the sandbox bugs.
+ LOG(WARNING) << "Enabling experimental Seccomp sandbox; if you encounter "
+ << "any problems, please try running with "
+ << "--disable-seccomp-sandbox and file bugs.";
sandbox_flags |= ZygoteHost::kSandboxSeccomp;
}
}