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

Side by Side Diff: mojo/nacl/sfi/nacl_bindings/mojo_syscall.h

Issue 2051163002: Nuke NaCl SFI, part 1. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « mojo/nacl/sfi/nacl_bindings/mojo_irt.c ('k') | mojo/nacl/sfi/nacl_bindings/mojo_syscall.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_NACL_SFI_NACL_BINDINGS_MOJO_SYSCALL_H_
6 #define MOJO_NACL_SFI_NACL_BINDINGS_MOJO_SYSCALL_H_
7
8 #include "mojo/public/c/system/handle.h"
9 #include "mojo/public/c/system/result.h"
10
11 // Injects a NaClDesc for Mojo support and sets a MojoHandle to be provided to
12 // untrusted code as a "service provider" MojoHandle. This provides the
13 // implementation of the Mojo system API outside the NaCl sandbox and allows
14 // untrusted code to communicate with Mojo interfaces outside the sandbox or in
15 // other processes.
16 MojoResult InjectMojo(struct NaClApp* nap, MojoHandle handle);
17
18 // Injects a "disabled" NaClDesc for Mojo support. This is to make debugging
19 // more straightforward in the case where Mojo is not enabled for NaCl plugins.
20 void InjectDisabledMojo(struct NaClApp* nap);
21
22 #endif // MOJO_NACL_SFI_NACL_BINDINGS_MOJO_SYSCALL_H_
OLDNEW
« no previous file with comments | « mojo/nacl/sfi/nacl_bindings/mojo_irt.c ('k') | mojo/nacl/sfi/nacl_bindings/mojo_syscall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698