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

Unified Diff: src/trusted/manifest_name_service_proxy/manifest_proxy.c

Issue 10914138: Split secure command channel and untrusted application channel (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fixed a few nits. Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/trusted/nonnacl_util/sel_ldr_launcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/manifest_name_service_proxy/manifest_proxy.c
diff --git a/src/trusted/manifest_name_service_proxy/manifest_proxy.c b/src/trusted/manifest_name_service_proxy/manifest_proxy.c
index 31063d3550370b1ba519bee0927adcf14af348c5..78d60d7defecd00a42c461deca89147fc3499bb3 100644
--- a/src/trusted/manifest_name_service_proxy/manifest_proxy.c
+++ b/src/trusted/manifest_name_service_proxy/manifest_proxy.c
@@ -16,7 +16,7 @@
#include "native_client/src/trusted/reverse_service/reverse_control_rpc.h"
#include "native_client/src/trusted/service_runtime/include/sys/errno.h"
#include "native_client/src/trusted/service_runtime/include/sys/nacl_name_service.h"
-#include "native_client/src/trusted/service_runtime/sel_ldr.h"
+#include "native_client/src/trusted/service_runtime/nacl_secure_service.h"
static void NaClManifestWaitForChannel_yield_mu(
struct NaClManifestProxyConnection *self) {
@@ -350,9 +350,10 @@ int NaClManifestProxyConnectionFactory(
"NaClManifestProxyConnectionFactory invoked w/o reverse channel\n");
}
NaClLog(4, "NaClManifestProxyConnectionFactory: inserting handler\n");
- if (!NaClSecureReverseClientInsertHandler(nap->reverse_client,
- NaClManifestReverseClientCallback,
- (void *) mconn)) {
+ if (!(*NACL_VTBL(NaClSecureReverseClient, nap->reverse_client)->
+ InsertHandler)(nap->reverse_client,
+ NaClManifestReverseClientCallback,
+ (void *) mconn)) {
NaClLog(LOG_FATAL,
("NaClManifestProxyConnectionFactory:"
" NaClSecureReverseClientInsertHandler failed\n"));
« no previous file with comments | « no previous file | src/trusted/nonnacl_util/sel_ldr_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698