Added /dev/{stdin,stdout,stderr} to the default sandbox permissions.
authorJason Stubbs <jstubbs@gentoo.org>
Wed, 21 Dec 2005 16:10:13 +0000 (16:10 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Wed, 21 Dec 2005 16:10:13 +0000 (16:10 -0000)
svn path=/main/trunk/; revision=2429

bin/ebuild.sh

index ce467045cb3bb6083bd3b245c08c5767f817315c..2c8f49240feea6297dad55e2f972b2780e12d5c9 100755 (executable)
@@ -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}"