Fakeroot destrooting [Was: Re: lldb ...]
René J.V. Bertin
rjvbertin at gmail.com
Sat Sep 10 07:08:01 PDT 2016
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.
More information about the macports-dev
mailing list