From: Zac Medico Date: Fri, 7 Dec 2007 22:08:25 +0000 (-0000) Subject: Bug #189417 - Whitelist BASH_ENV since we need to have it set in order X-Git-Tag: v2.2_pre1~209 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bbb055dfd0ecc43ee4c11b940b80d5486b32587b;p=portage.git 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 --- 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",