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

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: 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
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..617748d0b44e012d9eb029d1a2eb0cd2c9ab3d07 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,10 +350,11 @@ int NaClManifestProxyConnectionFactory(
"NaClManifestProxyConnectionFactory invoked w/o reverse channel\n");
}
NaClLog(4, "NaClManifestProxyConnectionFactory: inserting handler\n");
- if (!NaClSecureReverseClientInsertHandler(nap->reverse_client,
- NaClManifestReverseClientCallback,
- (void *) mconn)) {
- NaClLog(LOG_FATAL,
+ 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') | src/trusted/nonnacl_util/sel_ldr_launcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698