DescriptionSupply Windows handle-passing function to NaCl
Pass BrokerDuplicateHandle() to the NaCl loader process in
nacl_listener.cc.
Pass BrokerDuplicateHandle() to the NaCl trusted plugin. We need to
add this to PPB_NaCl_Private in order to pass it through.
Remove the use of the "init_handle_passing" SRPC call. Otherwise the
NaCl process will attempt to do an imc_connect() to the renderer,
which involves sending a handle to it, which fails.
Add a wrapper for AddTargetPeer() to 'content' so that
nacl_process_host.cc can use it.
Change the renderer's handle-passing policy to allow sending handles
other than Sections. The NaCl trusted plugin sends other handle types
to the NaCl loader process.
This change will allow the sandbox to be tightened up, in the future,
so that the NaCl loader process and the renderer process do not have
handles to each other.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=2719
TEST=nacl_integration etc.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132496
Patch Set 1 #Patch Set 2 : Update to new names #Patch Set 3 : Add AddTargetPeer() call #Patch Set 4 : Tweak types #
Total comments: 2
Patch Set 5 : Stricter handle policy #Patch Set 6 : Rebase #Patch Set 7 : Fix + comment #
Messages
Total messages: 9 (0 generated)
|