[29641] trunk/base/src/port1.0/porttrace.tcl

Rainer Müller raimue at macports.org
Wed Feb 25 20:38:15 PST 2009


source_changes at macosforge.org wrote:
> 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

Hello Eugene and Paul,

So I know this commit is very old. But I have a question which does not
seem to be documented anywhere and I even searched the macports-dev
archive from the time back then.

As I was investigating our test suite I found the test "trace" which
tries to create/delete/access/etc. files inside the $portpath and it
expects failures due to trace mode being used. I wanted to adapt that to
the current state of trunk, but then I found out that the $portpath is
explicitely inside the sandbox. And I can't think of any reason why
$portpath should be whitelisted.

What was the motivation of adding $portpath to the sandbox here?

Rainer


More information about the macports-dev mailing list