From bbb055dfd0ecc43ee4c11b940b80d5486b32587b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 7 Dec 2007 22:08:25 +0000 Subject: [PATCH] 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 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.26.2