Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(843)

Unified Diff: content/utility/utility_main.cc

Issue 333823002: Apply renderer sandbox to utility processes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to jln feedback Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/utility/utility_main.cc
diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc
index a57ea9c88e9a53f86deed9e2b5b7cb36007f1d1b..1be9918d8237266811c1d160160c6980214beaaf 100644
--- a/content/utility/utility_main.cc
+++ b/content/utility/utility_main.cc
@@ -30,7 +30,8 @@ int UtilityMain(const MainFunctionParams& parameters) {
// Initializes the sandbox before any threads are created.
// TODO(jorgelo): move this after GTK initialization when we enable a strict
jln (very slow on Chromium) 2014/06/25 00:28:08 Ooch, I had forgotten about this. This could be pr
// Seccomp-BPF policy.
- LinuxSandbox::InitializeSandbox();
+ if (parameters.zygote_child)
+ LinuxSandbox::InitializeSandbox();
#endif
ChildProcess utility_process;

Powered by Google App Engine
This is Rietveld 408576698