[29641] trunk/base/src/port1.0/porttrace.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Thu Oct 4 05:44:05 PDT 2007
Revision: 29641
http://trac.macosforge.org/projects/macports/changeset/29641
Author: epimenov at macports.org
Date: 2007-10-04 05:44:04 -0700 (Thu, 04 Oct 2007)
Log Message:
-----------
Adding portpath, /etc/passwd and /etc/localtime into trace sandbox
Modified Paths:
--------------
trunk/base/src/port1.0/porttrace.tcl
Modified: trunk/base/src/port1.0/porttrace.tcl
===================================================================
--- trunk/base/src/port1.0/porttrace.tcl 2007-10-04 12:39:31 UTC (rev 29640)
+++ trunk/base/src/port1.0/porttrace.tcl 2007-10-04 12:44:04 UTC (rev 29641)
@@ -41,7 +41,7 @@
if {[catch {package require Thread} error]} {
ui_warn "trace requires Tcl Thread package ($error)"
} else {
- global env trace_fifo trace_sandboxbounds
+ global env trace_fifo trace_sandboxbounds portpath
# Create a fifo.
# path in unix socket limited to 109 chars
# # set trace_fifo "$workpath/trace_fifo"
@@ -73,7 +73,7 @@
# /dev/null
# /dev/tty
# /Library/Caches/com.apple.Xcode
- set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/null:/dev/tty:/Library/Caches/com.apple.Xcode:${workpath}"
+ set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:${workpath}:$portpath"
if {[info exists env(TMPDIR)]} {
set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071004/8f84f27d/attachment.html
More information about the macports-changes
mailing list