| Index: src/trusted/service_runtime/sel_ldr.h
|
| ===================================================================
|
| --- src/trusted/service_runtime/sel_ldr.h (revision 7373)
|
| +++ src/trusted/service_runtime/sel_ldr.h (working copy)
|
| @@ -42,6 +42,7 @@
|
| #include "native_client/src/trusted/service_runtime/nacl_config_dangerous.h"
|
| #include "native_client/src/trusted/service_runtime/nacl_error_code.h"
|
| #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/sel_mem.h"
|
| #include "native_client/src/trusted/service_runtime/sel_util.h"
|
| @@ -72,6 +73,11 @@
|
| void (*process_exit_hook)(int exit_status);
|
| };
|
|
|
| +enum NaClResourcePhase {
|
| + NACL_RESOURCE_PHASE_START,
|
| + NACL_RESOURCE_PHASE_REV_CHAN
|
| +};
|
| +
|
| struct NaClApp {
|
| /*
|
| * public, user settable prior to app start.
|
| @@ -208,6 +214,9 @@
|
| struct NaClManifestProxy *manifest_proxy;
|
| struct NaClKernService *kern_service;
|
|
|
| + struct NaClResourceNaClApp resources;
|
| + enum NaClResourcePhase resource_phase;
|
| +
|
| struct NaClSecureReverseClient *reverse_client;
|
| enum NaClReverseChannelInitializationState {
|
| NACL_REVERSE_CHANNEL_UNINITIALIZED,
|
|
|