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

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

Issue 10134056: Refactor the process of choosing validators. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: The actual refactoring 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.c
diff --git a/src/trusted/service_runtime/sel_ldr.c b/src/trusted/service_runtime/sel_ldr.c
index 8031c8f4f3a9ba49946edd7ae206efd137f13e71..bf9cea1080aeb989bf9dc2b162e1d7af11b0bdd0 100644
--- a/src/trusted/service_runtime/sel_ldr.c
+++ b/src/trusted/service_runtime/sel_ldr.c
@@ -75,7 +75,9 @@ int NaClAppWithSyscallTableCtor(struct NaClApp *nap,
/* The validation cache will be injected later, if it exists. */
nap->validation_cache = NULL;
- nap->enable_dfa_validator = 0;
+ nap->validate_func = NULL;
+ nap->validate_copy_func = NULL;
+ nap->validate_code_replacement_func = NULL;
nap->addr_bits = NACL_MAX_ADDR_BITS;

Powered by Google App Engine
This is Rietveld 408576698