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

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

Issue 10134056: Refactor the process of choosing validators. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: portability.h instead of NACL_WINDOWS Created 8 years, 7 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 7631636d3d2c36fa2b12590db3e9845a9588eaa6..de05184b97676f42b3975c365eec7ef50272e627 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -54,6 +54,7 @@
#include "native_client/src/trusted/service_runtime/name_service/name_service.h"
#include "native_client/src/trusted/validator/cpufeatures.h"
+#include "native_client/src/trusted/validator/ncvalidate.h"
EXTERN_C_BEGIN
@@ -355,7 +356,7 @@ struct NaClApp {
enum NaClDebugExceptionHandlerState debug_exception_handler_state;
NaClAttachDebugExceptionHandlerFunc attach_debug_exception_handler_func;
#endif
- int enable_dfa_validator;
+ const struct NaClValidatorInterface *validator;
};

Powered by Google App Engine
This is Rietveld 408576698