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

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

Issue 9535001: Add validation caching interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: More edits Created 8 years, 10 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 | « src/trusted/service_runtime/sel_ldr.h ('k') | src/trusted/service_runtime/sel_main_chrome.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/sel_ldr.c
diff --git a/src/trusted/service_runtime/sel_ldr.c b/src/trusted/service_runtime/sel_ldr.c
index 9fa58f4f648ea07b3612553dd129eeebfa571ef6..66bc1e32c97f0564335a59a840fbf08cb8be2786 100644
--- a/src/trusted/service_runtime/sel_ldr.c
+++ b/src/trusted/service_runtime/sel_ldr.c
@@ -79,6 +79,9 @@ int NaClAppWithSyscallTableCtor(struct NaClApp *nap,
/* Get the set of features that the CPU we're running on supports. */
NaClGetCurrentCPUFeatures(&nap->cpu_features);
+ /* The validation cache will be injected later, if it exists. */
+ nap->validation_cache = NULL;
+
nap->addr_bits = NACL_MAX_ADDR_BITS;
nap->stack_size = NACL_DEFAULT_STACK_MAX;
« no previous file with comments | « src/trusted/service_runtime/sel_ldr.h ('k') | src/trusted/service_runtime/sel_main_chrome.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698