[29781] trunk/base/src/pextlib1.0/tracelib.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 9 16:50:26 PDT 2007


Revision: 29781
          http://trac.macosforge.org/projects/macports/changeset/29781
Author:   epimenov at macports.org
Date:     2007-10-09 16:50:26 -0700 (Tue, 09 Oct 2007)

Log Message:
-----------
tracelib: /Applications/MacPorts should be in sandbox 

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/tracelib.c

Modified: trunk/base/src/pextlib1.0/tracelib.c
===================================================================
--- trunk/base/src/pextlib1.0/tracelib.c	2007-10-09 22:05:01 UTC (rev 29780)
+++ trunk/base/src/pextlib1.0/tracelib.c	2007-10-09 23:50:26 UTC (rev 29781)
@@ -184,8 +184,9 @@
 			
 			append_allow("/bin", 0);
 			append_allow("/sbin", 0);
-			append_allow("/dev", 0)
+			append_allow("/dev", 0);
 			append_allow(Tcl_GetVar(interp, "macports::prefix", TCL_GLOBAL_ONLY), 2);
+			append_allow("/Applications/MacPorts", 0);
 			/* If there is no SDK we will allow everything in /usr /System/Library etc, else add binaries to allow, and redirect root to SDK. */
 			if(sdk&&*sdk)
 			{

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071009/1dc53f0e/attachment.html


More information about the macports-changes mailing list