summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-14 03:32:32 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-14 03:32:32 +0000
commitea5f78db78c3700422882e54a029eeb9b1183f5e (patch)
tree7a55d19c0de0ba5f2c9dd9461c42995c480dccf3
parentc6e010c6e58317d99d46378ceece3a4e760b2262 (diff)
downloadportage-ea5f78db78c3700422882e54a029eeb9b1183f5e.tar.gz
portage-ea5f78db78c3700422882e54a029eeb9b1183f5e.tar.bz2
portage-ea5f78db78c3700422882e54a029eeb9b1183f5e.zip
Add some more variables to config._env_blacklist to ensure that they never
leak in from the calling environment. svn path=/main/trunk/; revision=12503
-rw-r--r--pym/portage/__init__.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 1a8e17f5a..c0223dd63 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -915,9 +915,12 @@ class config(object):
"""
_env_blacklist = [
- "A", "AA", "CATEGORY", "EBUILD_PHASE", "EMERGE_FROM",
- "PF", "PKGUSE", "PORTAGE_CONFIGROOT", "PORTAGE_IUSE",
- "PORTAGE_REPO_NAME", "PORTAGE_USE", "ROOT"
+ "A", "AA", "CATEGORY", "DEPEND", "DESCRIPTION", "EAPI",
+ "EBUILD_PHASE", "EMERGE_FROM", "HOMEPAGE", "INHERITED", "IUSE",
+ "KEYWORDS", "LICENSE", "PDEPEND", "PF", "PKGUSE",
+ "PORTAGE_CONFIGROOT", "PORTAGE_IUSE", "PORTAGE_REPO_NAME",
+ "PORTAGE_USE", "PROPERTIES", "PROVIDE", "RDEPEND", "RESTRICT",
+ "ROOT", "SLOT", "SRC_URI"
]
_environ_whitelist = []