On Saturday September 10 2016 15:56:54 Clemens Lang wrote:

> cat and rm deal with files, consequently trace mode needs its code to be
> injected into them (as would fakeroot). Not copying them would mean
> their unmodified copies run without the "sandbox" enabled, since
> DYLD_INSERT_LIBRARIES wouldn't have any effect on them.

Right, I didn't think this out far enough. 

> It's kept, but how would you do that? You cannot inject code into that
> executable, and a port's build system specifies what shell scripts (for
> example) get run.

Not that it's going to be of much help, but shells and interpreters usually can 
read files that set environment variables.

R.
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to