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

Side by Side Diff: mojo/monacl/README

Issue 385983008: Mojo + NaCl prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ClipDep Created 6 years, 3 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
OLDNEW
(Empty)
1 This is a prototype for plumbing Mojo into the NaCl sandbox. It is
2 currently insecure (see below), does not provide a stable ABI (IRT
3 support must be added), and does not support Mojo functions that
4 return pointers (for example, MojoMapBuffer).
5
Mark Seaborn 2014/09/10 23:19:20 On naming: "monacl" is cutesy, but it's not necess
Nick Bray (chromium) 2014/09/11 00:56:39 Bulk moved. Some instances of "monacl" not change
6 generator/interface.py contains a programmatic description of the
7 stable Mojo interface. This will need to be updated as the interface
8 changes. Run generator/generate_monacl_bindings.py to generate the
9 bindings that plumb this interface into the NaCl sandbox.
10
11 To test: Build "monacl_shell" and "monacl_test". Run monacl_shell
12 with the IRT as the first argument and the monacl_test as the second
13 argument. For example, to run a Debug 32-bit Intel build:
14
15 cd out/Debug
16 ./monacl_shell irt_core_newlib_x32.nexe monacl_test_newlib_x32.nexe
17
18 Security TODO list:
19 Separate trusted and untrusted Mojo handles.
20 Validate and copy option structures.
21 Protect untrusted buffers passed into Mojo:
22 NaClVmIoWillStart/HasEnded.
23 Data races.
Mark Seaborn 2014/09/10 23:19:20 What do you mean by "data races"? Does this mean
Nick Bray (chromium) 2014/09/11 00:56:39 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698