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

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 196793023: Add seccomp sandbox for non-SFI NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | components/nacl/common/nacl_switches.h » ('j') | components/nacl/loader/nacl_helper_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index b16b6d86c1fac28c75b4686fb88c16954a6155ba..7aa267a75382ee6636c2a7a16db16d828ee123cf 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -564,6 +564,8 @@ bool NaClProcessHost::LaunchSelLdr() {
CopyNaClCommandLineArguments(cmd_line.get());
cmd_line->AppendSwitchASCII(switches::kProcessType,
+ uses_nonsfi_mode_ ?
+ switches::kNaClNonSfiLoaderProcess :
switches::kNaClLoaderProcess);
cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id);
if (NaClBrowser::GetDelegate()->DialogsAreSuppressed())
« no previous file with comments | « no previous file | components/nacl/common/nacl_switches.h » ('j') | components/nacl/loader/nacl_helper_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698