[PATCH] Never try to execute the file in ldd
Roland McGrath
roland@hack.frob.com
Mon Mar 24 22:10:00 GMT 2014
I always thought it wrong that it did that too. But I vaguely recall being
told there was some reason for it. (Maybe even I thought myself there was
an adequate reason. I can't recall any details now.) So we should
understand what the past reasoning was and be sure it no longer applies
today before we make such a change.
The only thing that comes to mind is cases where PT_INTERP points to a
different dynamic linker, such as a from build with a special --prefix=
setup or something stranger. In those cases, what the vanilla rtld will
think about search paths and so forth won't match what the actual PT_INTERP
dynamic linker will do.
But I'm not at all sure that was the case (or was the only case) that
motivated the current behavior.
More information about the Libc-alpha
mailing list