From: Jason Stubbs Date: Wed, 21 Dec 2005 16:10:13 +0000 (-0000) Subject: Added /dev/{stdin,stdout,stderr} to the default sandbox permissions. X-Git-Tag: v2.1_pre2~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ed2b575ce18ff9e19273e0e12edb04ef67265cef;p=portage.git Added /dev/{stdin,stdout,stderr} to the default sandbox permissions. svn path=/main/trunk/; revision=2429 --- 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}"