DescriptionNaCl: Clean up file descriptor setup in nacl_helper on linux
There is no need to be using dup2() to set up an FD with a fixed
number; this risks overwriting an FD. The point of
base::GlobalDescriptors is that it provides a level of indirection
that allows any FD number to be used.
Remove kNaClBrowserDescriptor. Remove the browserdesc argument that
is not used for anything other than an assertion and so isn't needed.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=2096
TEST=NaCl tests in browser_tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176106
Patch Set 1 #Patch Set 2 : Remove kNaClBrowserDescriptor #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|