Changeset 44791


Ignore:
Timestamp:
Jan 3, 2009, 2:50:25 AM (9 years ago)
Author:
raimue@…
Message:

port1.0/porttrace.tcl:
Add $CCACHE_DIR and $HOME/.ccache to whitelist for trace mode, see #12218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/porttrace.tcl

    r30351 r44791  
    7474                        # /dev/tty
    7575                        # /Library/Caches/com.apple.Xcode
    76                         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"
     76                        # $CCACHE_DIR
     77                        # $HOMEDIR/.ccache
     78                        set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/:/etc/passwd:/etc/groups:/etc/localtime:/Library/Caches/com.apple.Xcode:$env(HOME)/.ccache:${workpath}:$portpath"
    7779                        if {[info exists env(TMPDIR)]} {
    7880                                set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
    7981                        }
     82                        if {[info exists env(CCACHE_DIR)]} {
     83                                set trace_sandboxbounds "${trace_sandboxbounds}:$env(CCACHE_DIR)"
     84                        }
    8085                        tracelib setsandbox $trace_sandboxbounds
    8186                }
Note: See TracChangeset for help on using the changeset viewer.