Skip to content
Permalink
Browse files

Add /private/tmp among the sandbox bounds.

Fixes a problem with patch phase (reported by yeled).

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@18723 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Jul 25, 2006
1 parent c6a66be commit 120dd129d8748c94840c16838a3d39a058d6880b
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/port1.0/porttrace.tcl
@@ -1,7 +1,7 @@
# et:ts=4
# porttrace.tcl
#
# $Id: porttrace.tcl,v 1.18 2006/07/25 04:01:34 pguyot Exp $
# $Id: porttrace.tcl,v 1.19 2006/07/25 06:24:42 pguyot Exp $
#
# Copyright (c) 2005-2006 Paul Guyot <pguyot@kallisys.net>,
# All rights reserved.
@@ -59,11 +59,12 @@ proc trace_start {workpath} {
# The sandbox is limited to:
# workpath
# /tmp
# /private/tmp
# /var/tmp
# $TMPDIR
# /dev/null
# /dev/tty
set trace_sandboxbounds "/tmp:/var/tmp:/dev/null:/dev/tty:${workpath}"
set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/dev/null:/dev/tty:${workpath}"
if {[info exists env(TMPDIR)]} {
set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
}

0 comments on commit 120dd12

Please sign in to comment.
You can’t perform that action at this time.