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

Unified Diff: content/renderer/renderer_main_platform_delegate_linux.cc

Issue 10546130: Merge 140080 - Block ptrace (and ptrace-like) syscalls from the renderer and worker processs. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1132/src/
Patch Set: Created 8 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
« no previous file with comments | « content/common/sandbox_init_linux.cc ('k') | content/worker/worker_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main_platform_delegate_linux.cc
===================================================================
--- content/renderer/renderer_main_platform_delegate_linux.cc (revision 141713)
+++ content/renderer/renderer_main_platform_delegate_linux.cc (working copy)
@@ -7,6 +7,7 @@
#include "base/command_line.h"
#include "content/common/seccomp_sandbox.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/sandbox_init.h"
RendererMainPlatformDelegate::RendererMainPlatformDelegate(
const content::MainFunctionParams& parameters)
@@ -41,6 +42,7 @@
if (SeccompSandboxEnabled() && SupportsSeccompSandbox(-1))
StartSeccompSandbox();
#endif
+ content::InitializeSandbox();
return true;
}
« no previous file with comments | « content/common/sandbox_init_linux.cc ('k') | content/worker/worker_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698