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, |