This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]