For bug #190268, filter SANDBOX_* from the calling environment so that they can't...
authorZac Medico <zmedico@gentoo.org>
Fri, 7 Sep 2007 03:09:48 +0000 (03:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 7 Sep 2007 03:09:48 +0000 (03:09 -0000)
svn path=/main/trunk/; revision=7746

pym/portage/__init__.py

index e11b8f41979efe9d2abcc375e37414a1f5c68c14..62648ee870db64f7b9672e2919622abf5c58bd99 100644 (file)
@@ -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