This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #14579] rtld: limit the self loading check to normalmode
> Agreed, it's wrong that `./elf/ld.so --verify ./elf/ld-linux-x86-64.so.2`
> returns an exit status of 127, it should IMO return 1 indicating that
> it is *not* a "dynamically linked object we can handle" (it's a statically
> linked object).
Actually, it's a dynamically linked object that has no dependencies.
I don't know why we shouldn't be able to handle it.
> Does your patch cause ld.so --verify to return 1 as it does for statically
> linked binaries?
It returns 2, but --list says "statically linked".