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

Unified Diff: src/trusted/nonnacl_util/sel_ldr_launcher.cc

Issue 7031023: Run NaClEnvCleanser in standalone sel_ldr (in addition to sel_main_chrome). Add a couple of ld.so... (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 7 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
« no previous file with comments | « no previous file | src/trusted/service_runtime/build.scons » ('j') | src/trusted/service_runtime/build.scons » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/nonnacl_util/sel_ldr_launcher.cc
===================================================================
--- src/trusted/nonnacl_util/sel_ldr_launcher.cc (revision 5333)
+++ src/trusted/nonnacl_util/sel_ldr_launcher.cc (working copy)
@@ -261,8 +261,8 @@
// TODO(mseaborn): Tidy this up so that we do not need a conditional.
#ifdef NACL_STANDALONE
struct NaClEnvCleanser env_cleanser;
- NaClEnvCleanserCtor(&env_cleanser);
- if (!NaClEnvCleanserInit(&env_cleanser, GetEnviron())) {
+ NaClEnvCleanserCtor(&env_cleanser, 1);
+ if (!NaClEnvCleanserInit(&env_cleanser, GetEnviron(), NULL)) {
NaClLog(LOG_FATAL, "Failed to initialise env cleanser\n");
}
for (const char* const* env = NaClEnvCleanserEnvironment(&env_cleanser);
« no previous file with comments | « no previous file | src/trusted/service_runtime/build.scons » ('j') | src/trusted/service_runtime/build.scons » ('J')

Powered by Google App Engine
This is Rietveld 408576698