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

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: draft that does not fully build Created 8 years, 8 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 b864f5e3a8e1d66a8dcb26ee23f2ba13ff3c4648..4487785e3d9d819867b3c841859d9d864254da12 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;
+ struct NaClValidatorInterface *validator;
};

Powered by Google App Engine
This is Rietveld 408576698