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

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
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/env_cleanser.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/env_cleanser.h
===================================================================
--- src/trusted/service_runtime/env_cleanser.h (revision 5412)
+++ src/trusted/service_runtime/env_cleanser.h (working copy)
@@ -1,7 +1,7 @@
/*
- * Copyright 2009 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can
- * be found in the LICENSE file.
+ * Copyright (c) 2011 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
*/
/*
@@ -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.
« no previous file with comments | « src/trusted/service_runtime/build.scons ('k') | src/trusted/service_runtime/env_cleanser.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698