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

Unified Diff: src/trusted/service_runtime/sel_main.c

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_main.c
diff --git a/src/trusted/service_runtime/sel_main.c b/src/trusted/service_runtime/sel_main.c
index 78ed14a120578e37c224154f2e5c2c0eb476781c..0420b0d5d3bcf0e07cd362d69df805f3cfed9174 100644
--- a/src/trusted/service_runtime/sel_main.c
+++ b/src/trusted/service_runtime/sel_main.c
@@ -544,11 +544,7 @@ int main(int argc,
}
}
- nap->enable_dfa_validator = 0;
- if (getenv("NACL_DANGEROUS_USE_DFA_VALIDATOR") != NULL) {
- fprintf(stderr, "DANGER! USING THE UNSTABLE DFA VALIDATOR!\n");
- nap->enable_dfa_validator = 1;
- }
+ NaClSelectValidator(&nap->validator);
/* Sanity check. */
NaClSignalAssertNoHandlers();

Powered by Google App Engine
This is Rietveld 408576698