For trivial cases, the simplest solution would be to just remove
/compat/linux/usr/bin/ldd and have our native ldd do the work. If
something depends on the switches, this won't work.
At http://huizen.dds.nl/~frodol/glibc/problems.html it says:
* ldd gives real strange output,
"Bruce A. Mah" wrote:
If memory serves me right, Marcel Moolenaar wrote:
So, from a pure
ELF layout point of view, both shared objects and executables are the
same. But a shared library is not guaranteed to be executable. Allowing
shared objects to be executed is in violation
Marc van Kempen wrote:
The only gain I see, if you can call it a gain, is that you can get
non-trivial information out of a shared object from within scripts, but
I don't know if this has been the reason. If you don't allow execution
of shared objects, you have to use dlopen(3) and call
Huh... I was sure it did... Oh, well, guess my memory ain't what
it used to be :-/
But... Since you are the Linux Guru, and it seems I momentarily
have your attention, let me ask you about another Linux emulation
matter. :)
The Linux 'ldd' program is, as I'm sure you know, just a shell
"Donald J . Maddox" wrote:
The Linux 'ldd' program is, as I'm sure you know, just a shell
script that tries to directly execute 'ld-linux.so.2' on the
filename passed in argv to the script. This doesn't work with our
Linux emulation. Apparently, ld-linux.so.2 is simply (and not too
It's not a matter of our emulator. The problem is that Linux allows the
execution of shared objects. Technically speaking this is wrong and our
ELF loader doesn't do that. We can change our ELF loader, but that would
Could you elaborate on this, please. I am interested in what is meant with
[EMAIL PROTECTED] wrote:
It's not a matter of our emulator. The problem is that Linux allows the
execution of shared objects. Technically speaking this is wrong and our
ELF loader doesn't do that. We can change our ELF loader, but that would
Could you elaborate on this, please. I am
If memory serves me right, Marcel Moolenaar wrote:
So, from a pure
ELF layout point of view, both shared objects and executables are the
same. But a shared library is not guaranteed to be executable. Allowing
shared objects to be executed is in violation with the specs:
This may be a really
"Bruce A. Mah" wrote:
If memory serves me right, Marcel Moolenaar wrote:
So, from a pure
ELF layout point of view, both shared objects and executables are the
same. But a shared library is not guaranteed to be executable. Allowing
shared objects to be executed is in violation with