Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/nacl/common/nacl_switches.h" | 5 #include "components/nacl/common/nacl_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // Disables crash throttling for Portable Native Client. | 9 // Disables crash throttling for Portable Native Client. |
| 10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; | 10 const char kDisablePnaclCrashThrottling[] = "disable-pnacl-crash-throttling"; |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 40 const char kNaClGdbScript[] = "nacl-gdb-script"; | 40 const char kNaClGdbScript[] = "nacl-gdb-script"; |
| 41 | 41 |
| 42 // Value for --type that causes the process to run as a NativeClient loader | 42 // Value for --type that causes the process to run as a NativeClient loader |
| 43 // for SFI mode. | 43 // for SFI mode. |
| 44 const char kNaClLoaderProcess[] = "nacl-loader"; | 44 const char kNaClLoaderProcess[] = "nacl-loader"; |
| 45 | 45 |
| 46 // Value for --type that causes the process to run as a NativeClient loader | 46 // Value for --type that causes the process to run as a NativeClient loader |
| 47 // for non SFI mode. | 47 // for non SFI mode. |
| 48 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; | 48 const char kNaClLoaderNonSfiProcess[] = "nacl-loader-nonsfi"; |
| 49 | 49 |
| 50 // Disable sandbox even for non SFI mode. This is particularly unsafe | |
| 51 // as non SFI NaCl heavily relies on the seccomp sandbox. | |
| 52 const char kNaClDangerousNoSandboxNonSfi[] = | |
|
Mark Seaborn
2014/04/07 23:39:48
Nit: please sort these
hamaji
2014/04/08 04:38:30
Done.
| |
| 53 "nacl-dangerous-no-sandbox-nonsfi"; | |
| 54 | |
| 50 } // namespace switches | 55 } // namespace switches |
| OLD | NEW |