dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid

Mike Alexander mta at umich.edu
Fri May 17 12:42:17 PDT 2013


--On May 17, 2013 2:42:10 PM -0400 Lawrence Velázquez 
<larryv at macports.org> wrote:

> No. The warning has nothing to do with bash. The issue is the
> existence of LD_LIBRARY_PATH or DYLD_LIBRARY_PATH; dyld removes those
> variables from its environment to prevent setuid/setgid executables
> from loading arbitrary dylibs. How those variables got into the
> environment is completely irrelevant.

Actually, I think it can be any DYLD_* environment variable.  I just 
tried setting DYLD_QQSV to something and got the warning.  LD_* 
variables don't seem to trigger the warning.

              Mike
 


More information about the macports-users mailing list