From 921b10d4953052a7c61a6142670d4b6df80a718c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Jan 2009 03:59:53 +0000 Subject: [PATCH] Add some more variables to config._env_blacklist to ensure that they never leak in from the calling environment. (trunk r12503) svn path=/main/branches/2.1.6/; revision=12513 --- pym/portage/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 46b702d4f..4a9ba082e 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 = [] -- 2.26.2