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

Unified Diff: src/trusted/service_runtime/sel_main_chrome.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_chrome.c
diff --git a/src/trusted/service_runtime/sel_main_chrome.c b/src/trusted/service_runtime/sel_main_chrome.c
index 162073ff7f688dcd7b452b669e61514e7d3a69f5..f05054f898a117d1fc464cd98af8662fda67e64a 100644
--- a/src/trusted/service_runtime/sel_main_chrome.c
+++ b/src/trusted/service_runtime/sel_main_chrome.c
@@ -130,10 +130,7 @@ void NaClChromeMainStart(struct NaClChromeMainArgs *args) {
NaClSetBrokerDuplicateHandleFunc(args->broker_duplicate_handle_func);
#endif
- 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);
NaClAppInitialDescriptorHookup(nap);

Powered by Google App Engine
This is Rietveld 408576698