DYLD_ env vars ignored warning shown without DYLD_PRINT_WARN

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
lanceli
Posts: 1
Joined: 2012-08-07T20:31:58-07:00
Authentication code: 67789

DYLD_ env vars ignored warning shown without DYLD_PRINT_WARN

Post by lanceli »

environment: Mac OS X 10.8

Summary:
A change introduced in OS X 10.8 causes a warning to be emitted on the console every time a setuid or setgid program is run when a DYLD_ environment variable has been set. There appears to be no way to disable this warning, even though the behavior (ignoring DYLD_ variables) was not introduced in 10.8.

Steps to Reproduce:
1. Set DYLD_LIBRARY_PATH=/foo
2. Run any setuid or setgid program. For example, 'ps'.

Expected Results:
The normal output of 'ps' (or whatever was run), without extra stuff output to stderr.

Actual Results:
dyld: DYLD_ environment variables being ignored because main executable (/bin/ps) is setuid or setgid
(normal 'ps' output)

more detail, please check: http://openradar.appspot.com/11894054
Post Reply