Chromium Code Reviews
DescriptionSecure command channel and untrusted application channel have been split as two separated socket addresses, this allows secure command channel address to be passed to parent, etc.
Subsequently, the secure command service was refactored to allow accepting multiple connections and uses custom thread factory to track the number of command channels. When all command channels are closed, the application exits.
Secure command service was split into separate source files for clarity as they are independent from rest of the sel_ldr source code.
This SelUniveral-based test infrastructure is only temporary; once the current SelLdrLauncher will be replaced by the new interface, the test for this interface could be simplified to avoid the use of SelUniversal at all.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=3019
TESTS=small_tests
Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=9853
Patch Set 1 #
Total comments: 2
Patch Set 2 : Dropped Command Service. #
Total comments: 2
Patch Set 3 : CommandSetup SRPC call added to secure command service. #
Total comments: 2
Patch Set 4 : Separated secure command channel and untrusted app channel. #
Total comments: 13
Patch Set 5 : Minor fixes. #
Total comments: 20
Patch Set 6 : Addressed bsy's comments. #Patch Set 7 : Rebased with master. #
Total comments: 2
Patch Set 8 : Comment fixed. #
Total comments: 8
Patch Set 9 : Fixed a few nits. #Messages
Total messages: 19 (0 generated)
|