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

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: rebased, added a todo for NaClCopyCode Created 8 years, 6 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 32ffdce1015d123bbab104acd21628f4a6c413d6..1afedf0c1ef71056109edbe6d592e1bdbcc75af4 100644
--- a/src/trusted/service_runtime/sel_ldr.h
+++ b/src/trusted/service_runtime/sel_ldr.h
@@ -53,6 +53,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
@@ -366,7 +367,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