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

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

Issue 12600034: Provide metadata to validator to allow faster caching. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: First fixes Created 7 years, 9 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/nacl_text.h
diff --git a/src/trusted/service_runtime/nacl_text.h b/src/trusted/service_runtime/nacl_text.h
index 0f92c5b13e0dcb896c083170199e16fdedb8be96..171010b392693f509b7bd3c78600b4b84d0effec 100644
--- a/src/trusted/service_runtime/nacl_text.h
+++ b/src/trusted/service_runtime/nacl_text.h
@@ -22,6 +22,8 @@ struct NaClDynamicRegion {
int delete_generation;
};
+struct NaClValidationMetadata;
+
/*
* Create a shared memory descriptor and map it into the text region
* of the address space. This implies that the text size must be a
@@ -34,10 +36,12 @@ int NaClDescEffectorShmCtor(struct NaClDescEffectorShm *self) NACL_WUR;
int NaClMinimumThreadGeneration(struct NaClApp *nap);
-int32_t NaClTextDyncodeCreate(struct NaClApp *nap,
- uint32_t dest,
- void *code_copy,
- uint32_t size) NACL_WUR;
+int32_t NaClTextDyncodeCreate(
+ struct NaClApp *nap,
+ uint32_t dest,
+ void *code_copy,
+ uint32_t size,
+ const struct NaClValidationMetadata *metadata) NACL_WUR;
int32_t NaClSysDyncodeCreate(struct NaClAppThread *natp,
uint32_t dest,

Powered by Google App Engine
This is Rietveld 408576698