Changeset 29641 for trunk/base


Ignore:
Timestamp:
Oct 4, 2007, 12:44:04 PM (12 years ago)
Author:
epimenov@…
Message:

Adding portpath, /etc/passwd and /etc/localtime into trace sandbox

File:
1 edited

Legend:

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

    r28091 r29641  
    4242                        ui_warn "trace requires Tcl Thread package ($error)"
    4343                } else {
    44                         global env trace_fifo trace_sandboxbounds
     44                        global env trace_fifo trace_sandboxbounds portpath
    4545                        # Create a fifo.
    4646                        # path in unix socket limited to 109 chars
     
    7474                        # /dev/tty
    7575                        # /Library/Caches/com.apple.Xcode
    76                         set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/null:/dev/tty:/Library/Caches/com.apple.Xcode:${workpath}"
     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"
    7777                        if {[info exists env(TMPDIR)]} {
    7878                                set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
Note: See TracChangeset for help on using the changeset viewer.