* [gentoo-commits] portage r13403 - in main/trunk: bin pym/portage
@ 2009-04-28 6:34 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-04-28 6:34 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-04-28 06:34:55 +0000 (Tue, 28 Apr 2009)
New Revision: 13403
Modified:
main/trunk/bin/ebuild.sh
main/trunk/pym/portage/__init__.py
Log:
Bug #71646 - Don't allow the HISTFILE variable into the ebuild environment
since it triggers sandbox violations.
Modified: main/trunk/bin/ebuild.sh
===================================================================
--- main/trunk/bin/ebuild.sh 2009-04-27 03:24:51 UTC (rev 13402)
+++ main/trunk/bin/ebuild.sh 2009-04-28 06:34:55 UTC (rev 13403)
@@ -1620,7 +1620,7 @@
SANDBOX_DEBUG_LOG SANDBOX_DISABLED SANDBOX_LIB
SANDBOX_LOG SANDBOX_ON"
filtered_vars="${readonly_bash_vars} ${READONLY_PORTAGE_VARS}
- BASH_.* PATH POSIXLY_CORRECT"
+ BASH_.* HISTFILE PATH POSIXLY_CORRECT"
if hasq --filter-sandbox $* ; then
filtered_vars="${filtered_vars} SANDBOX_.*"
else
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2009-04-27 03:24:51 UTC (rev 13402)
+++ main/trunk/pym/portage/__init__.py 2009-04-28 06:34:55 UTC (rev 13403)
@@ -1127,7 +1127,7 @@
# variables that break bash
_environ_filter += [
- "POSIXLY_CORRECT",
+ "HISTFILE", "POSIXLY_CORRECT",
]
# portage config variables and variables set directly by portage
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-28 6:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 6:34 [gentoo-commits] portage r13403 - in main/trunk: bin pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox