diff options
author | hidehiko <hidehiko@chromium.org> | 2015-03-10 00:00:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-10 07:00:41 +0000 |
commit | 7d7dcec900cc0c148237307a79b9471a6459f2e5 (patch) | |
tree | fcb996d45a5078628551e8c49d7b05c376173626 /chrome/test/nacl | |
parent | 69cfa7bbd88391cef0ad02f4e95697c674404e77 (diff) | |
download | chromium_src-7d7dcec900cc0c148237307a79b9471a6459f2e5.zip chromium_src-7d7dcec900cc0c148237307a79b9471a6459f2e5.tar.gz chromium_src-7d7dcec900cc0c148237307a79b9471a6459f2e5.tar.bz2 |
Non-SFI mode: Suid sandbox.
This CL enables suid sandbox on nacl_helper_nonsfi.
BUG=358465
TEST=Ran trybots. Ran Non-SFI NaCl app with nacl_helper_nonsfi.
Review URL: https://codereview.chromium.org/888903004
Cr-Commit-Position: refs/heads/master@{#319845}
Diffstat (limited to 'chrome/test/nacl')
-rw-r--r-- | chrome/test/nacl/nacl_browsertest_util.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/nacl/nacl_browsertest_util.cc b/chrome/test/nacl/nacl_browsertest_util.cc index 6248d8a..f1e0f80 100644 --- a/chrome/test/nacl/nacl_browsertest_util.cc +++ b/chrome/test/nacl/nacl_browsertest_util.cc @@ -297,6 +297,9 @@ void NaClBrowserTestTransitionalNonSfi::SetUpCommandLine( base::CommandLine* command_line) { NaClBrowserTestNonSfiMode::SetUpCommandLine(command_line); command_line->AppendSwitch(switches::kUseNaClHelperNonSfi); + // TODO(hidehiko): Remove this flag, when namespace sandbox is supported + // by nacl_helper_nonsfi. (cf. crbug.com/464663) + command_line->AppendSwitch(switches::kDisableNamespaceSandbox); } base::FilePath::StringType NaClBrowserTestStatic::Variant() { @@ -322,6 +325,9 @@ void NaClBrowserTestPnaclTransitionalNonSfi::SetUpCommandLine( base::CommandLine* command_line) { NaClBrowserTestPnaclNonSfi::SetUpCommandLine(command_line); command_line->AppendSwitch(switches::kUseNaClHelperNonSfi); + // TODO(hidehiko): Remove this flag, when namespace sandbox is supported + // by nacl_helper_nonsfi. (cf. crbug.com/464663) + command_line->AppendSwitch(switches::kDisableNamespaceSandbox); } void NaClBrowserTestNewlibExtension::SetUpCommandLine( |