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

Unified Diff: src/trusted/service_runtime/sel_ldr.h

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/service_runtime/sel_ldr.h
diff --git a/src/trusted/service_runtime/sel_ldr.h b/src/trusted/service_runtime/sel_ldr.h
index f1d159d63e422dbe2f3056567bd279b316129db7..97c7162c86e78f937b57c298c40126d82370fc97 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -47,6 +47,9 @@
#include "native_client/src/trusted/service_runtime/nacl_kern_services.h"
#include "native_client/src/trusted/service_runtime/nacl_resource.h"
+#include "native_client/src/trusted/service_runtime/nacl_secure_service.h"
+#include "native_client/src/trusted/service_runtime/nacl_command_service.h"
+
#include "native_client/src/trusted/service_runtime/sel_mem.h"
#include "native_client/src/trusted/service_runtime/sel_util.h"
#include "native_client/src/trusted/service_runtime/sel_rt.h"
@@ -70,8 +73,6 @@ struct NaClDesc; /* see native_client/src/trusted/desc/nacl_desc_base.h */
struct NaClDynamicRegion;
struct NaClManifestProxy;
struct NaClReverseQuotaInterface;
-struct NaClSecureService;
-struct NaClSecureReverseService;
struct NaClSignalContext;
struct NaClThreadInterface; /* see sel_ldr_thread_interface.h */
struct NaClValidationCache;
@@ -243,6 +244,7 @@ struct NaClApp {
struct NaClDesc *name_service_conn_cap;
struct NaClSecureService *secure_service;
+ struct NaClCommandService *command_service;
struct NaClManifestProxy *manifest_proxy;
struct NaClKernService *kern_service;
@@ -601,14 +603,6 @@ void NaClSetUpBootstrapChannel(struct NaClApp *nap,
void NaClSecureCommandChannel(struct NaClApp *nap);
-int NaClSecureReverseClientInsertHandler(
- struct NaClSecureReverseClient *self,
- void (*handler)(
- void *handler_state,
- struct NaClThreadInterface *thread_if,
- struct NaClDesc *new_conn),
- void *handler_state) NACL_WUR;
-
NaClErrorCode NaClWaitForLoadModuleStatus(struct NaClApp *nap) NACL_WUR;
NaClErrorCode NaClWaitForStartModuleCommand(struct NaClApp *nap) NACL_WUR;

Powered by Google App Engine
This is Rietveld 408576698