Home | History | Annotate | Download | only in browser

Lines Matching defs:nacl

5 #include "components/nacl/browser/nacl_process_host.h"
29 #include "components/nacl/browser/nacl_browser.h"
30 #include "components/nacl/browser/nacl_browser_delegate.h"
31 #include "components/nacl/browser/nacl_host_message_filter.h"
32 #include "components/nacl/common/nacl_cmd_line.h"
33 #include "components/nacl/common/nacl_host_messages.h"
34 #include "components/nacl/common/nacl_messages.h"
35 #include "components/nacl/common/nacl_process_type.h"
36 #include "components/nacl/common/nacl_switches.h"
68 #include "components/nacl/browser/nacl_broker_service_win.h"
69 #include "components/nacl/common/nacl_debug_exception_handler_win.h"
121 namespace nacl {
140 } // namespace nacl
169 // from .dll loading. The NaCl process will attempt to locate this space by
174 if (!nacl::AllocateAddressSpaceASLR(process, kNaClSandboxSize)) {
206 std::vector<nacl::FileDescriptor> *handles_for_sel_ldr) {
223 reinterpret_cast<nacl::FileDescriptor>(channel));
225 nacl::FileDescriptor channel;
235 namespace nacl {
301 base::StringPrintf("NaCl process exited with status %i (0x%x)",
356 "NaCl.nacl-gdb",
359 "NaCl.nacl-gdb-script",
362 "NaCl.enable-nacl-debug",
389 // Do not launch the requested NaCl module if NaCl is marked "unstable" due
406 SendErrorToRenderer("NaCl's GDB debug stub requires --no-sandbox flag"
414 LOG(WARNING) << "--nacl-gdb flag requires --enable-nacl-debug flag";
417 // Start getting the IRT open asynchronously while we launch the NaCl process.
444 "NaCl non-SFI mode is not available for this platform"
445 " and NaCl module.");
489 SetDebugStubPort(nacl::kGdbDebugStubPortUnknown);
516 // We don't support spaces inside arguments in --nacl-gdb switch.
523 // Avoid back slashes because nacl-gdb uses posix escaping rules on Windows.
526 cmd_line.AppendArgNative(FILE_PATH_LITERAL("nacl-irt \"") + irt_path +
533 cmd_line.AppendArgNative(FILE_PATH_LITERAL("nacl-manifest \"") +
554 // Build command line for nacl.
561 // space. Disable PIE for NaCl processes. See http://crbug.com/90221 and
575 // On Windows 64-bit NaCl loader is called nacl64.exe instead of chrome.exe
642 // IPC messages relating to NaCl's validation cache must not be exposed
682 SendErrorToRenderer("could not acquire shared resources needed by NaCl");
694 // If we are on 64-bit Windows, the NaCl process's sandbox is
696 // need to inform the renderer's sandbox about the NaCl process so
697 // that the renderer can send handles to the NaCl process using
747 LOG(ERROR) << "NaCl process launch failed: " << error_message;
771 // TCP port we chose for NaCl debug stub. It can be any other number.
846 // For dynamic loading support, NaCl requires a file descriptor that
943 // Send a message to initialize the IPC dispatchers in the NaCl plugin.
952 // Shut down the NaCl process.
1013 // evicted. If a large number of NaCl modules are being launched at once,
1018 // However: each NaCl process will consume 2-3 entries as it starts up, this
1019 // means that eviction will not happen unless you start up 33+ NaCl processes
1026 // Each NaCl process will consume 2-3 entries because the manifest and main
1078 "Debug exception handler requested by NaCl process when not enabled";
1082 // The NaCl process should not request this multiple times.
1092 // than in the NaCl broker process in case the NaCl loader process
1093 // dies before the NaCl broker process receives the message we send.
1095 // but this takes a PID. We need to prevent the NaCl loader's PID
1115 // If the NaCl loader is 64-bit, the process running its debug
1116 // exception handler must be 64-bit too, so we use the 64-bit NaCl
1133 } // namespace nacl