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

Unified Diff: components/nacl/zygote/nacl_fork_delegate_linux.cc

Issue 226033002: Ensure seccomp-bpf cannot be silently disabled for non-SFI NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: components/nacl/zygote/nacl_fork_delegate_linux.cc
diff --git a/components/nacl/zygote/nacl_fork_delegate_linux.cc b/components/nacl/zygote/nacl_fork_delegate_linux.cc
index 56542dc8016b93611cd3eeda28e603905d4e690d..57a9e337b347b74601b062e01a82106a04c7bf95 100644
--- a/components/nacl/zygote/nacl_fork_delegate_linux.cc
+++ b/components/nacl/zygote/nacl_fork_delegate_linux.cc
@@ -166,6 +166,7 @@ void NaClForkDelegate::Init(const int sandboxdesc) {
// Append any switches that need to be forwarded to the NaCl helper.
static const char* kForwardSwitches[] = {
switches::kDisableSeccompFilterSandbox,
+ switches::kNaClDangerousNoSandboxNonSfi,
switches::kNoSandbox,
};
const CommandLine& current_cmd_line = *CommandLine::ForCurrentProcess();
« components/nacl/loader/nacl_helper_linux.cc ('K') | « components/nacl/loader/nacl_helper_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698