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

Unified Diff: src/trusted/service_runtime/env_cleanser.h

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
Index: src/trusted/service_runtime/env_cleanser.h
===================================================================
--- src/trusted/service_runtime/env_cleanser.h (revision 5333)
+++ src/trusted/service_runtime/env_cleanser.h (working copy)
@@ -19,10 +19,11 @@
struct NaClEnvCleanser {
/* private */
+ int with_whitelist;
char const **cleansed_environ;
};
-void NaClEnvCleanserCtor(struct NaClEnvCleanser *self);
+void NaClEnvCleanserCtor(struct NaClEnvCleanser *self, int with_whitelist);
/*
* Initializes the NaClEnvCleanser. Filters the environment at envp
@@ -31,7 +32,8 @@
* NaClEnvCleanser object, and should not change between the call to
* NaClEnvCleanserInit and to NaClEnvCleanserDtor.
*/
-int NaClEnvCleanserInit(struct NaClEnvCleanser *self, char const *const *envp);
+int NaClEnvCleanserInit(struct NaClEnvCleanser *self, char const *const *envp,
+ char const *const *extra_env);
/*
* Returns the filtered environment.

Powered by Google App Engine
This is Rietveld 408576698