Index: content/browser/zygote_host/zygote_host_impl_linux.cc |
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.cc b/content/browser/zygote_host/zygote_host_impl_linux.cc |
index aaf4d3b686e916a53f217bad0a33bc043a191f23..0106a7a9030992184262b600dafd3a9e53101528 100644 |
--- a/content/browser/zygote_host/zygote_host_impl_linux.cc |
+++ b/content/browser/zygote_host/zygote_host_impl_linux.cc |
@@ -166,6 +166,7 @@ void ZygoteHostImpl::Init(const std::string& sandbox_cmd) { |
base::ProcessHandle process = -1; |
base::LaunchOptions options; |
options.fds_to_remap = &fds_to_map; |
+ options.allow_new_privs = using_suid_sandbox_; // Don't PR_SET_NO_NEW_PRIVS. |
base::LaunchProcess(cmd_line.argv(), options, &process); |
CHECK(process != -1) << "Failed to launch zygote process"; |