|
this patch adds the manifest proxy server to sel_ldr and the manifest
proxy service stubs to reverse_service in the plugin. the service
stubs are not hooked up, and just logs and sends back bogus replies.
this patch also adds an SRPC-based (irt=0) test to tests/nameservice/
so that the nexe would run in the browser and thereby trigger the RPCs
to the plugin to exercise the name service and manifest sub-name
service functionality.
the plan is that the RPC service stubs in the plugin will be replaced
with Pepper calls that uses the trusted interface to extract the
underlying file descriptor and pass it back to the untrusted IRT code,
initially for read-only access. the IRT can use the descriptor to
emulate the Pepper file object read/write API using read/write service
runtime syscalls, rather than doing bulk data transfers via RPCs,
providing a short-circuited I/O path. for read/write access (later),
hooking up quota management callbacks (also via reverse channels) will
be necessary, but quota calls are control plane traffic, and bulk data
plane traffic should continue to go through service runtime syscalls.
TEST= tests/nameservice/srpc_nameservice_test
BUG= http://code.google.com/p/nativeclient/issues/detail?id=1534 http://code.google.com/p/nativeclient/issues/detail?id=566
Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=5671
Total comments: 47
Total comments: 4
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1280 lines, -70 lines) |
Patch |
 |
M |
SConstruct
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
src/trusted/manifest_name_service_proxy/build.scons
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/trusted/manifest_name_service_proxy/manifest_name_service_proxy.gyp
|
View
|
1
2
3
4
5
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/trusted/manifest_name_service_proxy/manifest_proxy.h
|
View
|
1
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/trusted/manifest_name_service_proxy/manifest_proxy.c
|
View
|
1
2
3
4
5
6
|
1 chunk |
+354 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/service_runtime.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/service_runtime.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
A |
src/trusted/reverse_service/manifest_rpc.h
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/trusted/reverse_service/reverse_control_rpc.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/trusted/reverse_service/reverse_service.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/trusted/reverse_service/reverse_service.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+91 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/build.scons
|
View
|
1
2
3
4
5
6
|
6 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/name_service/default_name_service.c
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/name_service/name_service.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/name_service/name_service.c
|
View
|
1
2
3
4
5
6
|
8 chunks |
+44 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/sel_ldr.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/sel_ldr.c
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+44 lines, -33 lines |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/sel_ldr_standard.c
|
View
|
1
2
3
4
5
6
|
3 chunks |
+96 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/sel_ldr_thread_interface.c
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/service_runtime/service_runtime.gyp
|
View
|
1
2
3
4
5
6
|
4 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/trusted/simple_service/nacl_simple_service.c
|
View
|
1
2
3
4
5
6
|
6 chunks |
+14 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/trusted/threading/nacl_thread_interface.c
|
View
|
1
2
3
4
5
6
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/multiple_sandboxes/nacl.scons
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tests/nameservice/nacl.scons
|
View
|
1
2
3
4
5
6
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/nameservice/srpc_nameservice.nmf
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/nameservice/srpc_nameservice_test.c
|
View
|
1
2
3
4
5
|
1 chunk |
+292 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/nameservice/srpc_nameservice_test.html
|
View
|
1
2
3
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|