summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-09-07 03:09:48 +0000
committerZac Medico <zmedico@gentoo.org>2007-09-07 03:09:48 +0000
commit8eb244e46b6c113008d31f5d8402e78f9fb17778 (patch)
tree9d21317f95a88406dd8f63e40be8153826b83a5b
parent2c71c64a3eeb291c60b7fecdd96942ad4fae1ce5 (diff)
downloadportage-8eb244e46b6c113008d31f5d8402e78f9fb17778.tar.gz
portage-8eb244e46b6c113008d31f5d8402e78f9fb17778.tar.bz2
portage-8eb244e46b6c113008d31f5d8402e78f9fb17778.zip
For bug #190268, filter SANDBOX_* from the calling environment so that they can't interfere with ebuild.sh.
svn path=/main/trunk/; revision=7746
-rw-r--r--pym/portage/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index e11b8f419..62648ee87 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1201,7 +1201,8 @@ class config(object):
# Blacklist vars that could interfere with portage internals.
for blacklisted in "CATEGORY", "PKGUSE", "PORTAGE_CONFIGROOT", \
- "ROOT":
+ "ROOT", "SANDBOX_DENY", "SANDBOX_PREDICT", "SANDBOX_READ", \
+ "SANDBOX_WRITE":
for cfg in self.lookuplist:
cfg.pop(blacklisted, None)
del blacklisted, cfg