diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-07 22:08:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-07 22:08:25 +0000 |
commit | bbb055dfd0ecc43ee4c11b940b80d5486b32587b (patch) | |
tree | adfa200f1c14ea6a57264eaaffd5332e3e45a3e2 | |
parent | 1c8d6191cde7b97556fc91f69039c91e0508fe19 (diff) | |
download | portage-bbb055dfd0ecc43ee4c11b940b80d5486b32587b.tar.gz portage-bbb055dfd0ecc43ee4c11b940b80d5486b32587b.tar.bz2 portage-bbb055dfd0ecc43ee4c11b940b80d5486b32587b.zip |
Bug #189417 - Whitelist BASH_ENV since we need to have it set in order
to prevent sandbox from causing env leakage by sourcing /etc/profile
via it's bashrc.
svn path=/main/trunk/; revision=8866
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index c88cd676e..dbbe97e3a 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -864,7 +864,7 @@ class config(object): # constructor. Also, preserve XARGS since it is set by the # portage.data module. _environ_whitelist += [ - "BUILD_PREFIX", "D", + "BASH_ENV", "BUILD_PREFIX", "D", "DISTDIR", "DOC_SYMLINKS_DIR", "EBUILD_EXIT_STATUS_FILE", "EBUILD", "EBUILD_PHASE", "ECLASSDIR", "ECLASS_DEPTH", "EMERGE_FROM", "FEATURES", "FILESDIR", "HOME", "PATH", |