[email protected] wrote:
> Revision: 29641
>           http://trac.macosforge.org/projects/macports/changeset/29641
> Author:   [email protected]
> 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
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to