summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-21 16:10:13 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-21 16:10:13 +0000
commited2b575ce18ff9e19273e0e12edb04ef67265cef (patch)
treebb541b6217511abc0ef62d8331e3a9007de2bd45 /bin
parent1c7f341ccc44c799dfec5a28d870e5db58e0e2a7 (diff)
downloadportage-ed2b575ce18ff9e19273e0e12edb04ef67265cef.tar.gz
portage-ed2b575ce18ff9e19273e0e12edb04ef67265cef.tar.bz2
portage-ed2b575ce18ff9e19273e0e12edb04ef67265cef.zip
Added /dev/{stdin,stdout,stderr} to the default sandbox permissions.
svn path=/main/trunk/; revision=2429
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index ce467045c..2c8f49240 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -4,8 +4,8 @@
# $Id: /var/cvsroot/gentoo-src/portage/bin/ebuild.sh,v 1.201.2.42 2005/08/20 17:24:30 jstubbs Exp $
export SANDBOX_PREDICT="${SANDBOX_PREDICT}:/proc/self/maps:/dev/console:/usr/lib/portage/pym:/dev/random"
-export SANDBOX_WRITE="${SANDBOX_WRITE}:/dev/shm:${PORTAGE_TMPDIR}"
-export SANDBOX_READ="${SANDBOX_READ}:/dev/shm:${PORTAGE_TMPDIR}"
+export SANDBOX_WRITE="${SANDBOX_WRITE}:/dev/shm:/dev/stdout:/dev/stderr:${PORTAGE_TMPDIR}"
+export SANDBOX_READ="${SANDBOX_READ}:/dev/shm:/dev/stdin:${PORTAGE_TMPDIR}"
if [ ! -z "${PORTAGE_GPG_DIR}" ]; then
SANDBOX_PREDICT="${SANDBOX_PREDICT}:${PORTAGE_GPG_DIR}"