Design goals of the dynamic loader.
Siddhesh Poyarekar
siddhesh@redhat.com
Sat Jul 18 03:04:00 GMT 2015
On Sat, Jul 18, 2015 at 08:19:53AM +0530, Siddhesh Poyarekar wrote:
> We have some validations in place already, so it is not clear to me
> what the criteria for selecting them is and at present it seems
> arbitrary. If there is a clear guideline for what kind of sanity
OK, so I took another look and the only validation that seems kinda
related is the one that detects the wrong ELF class. That too is not
specifically a protection against invalid ELF; just not somthing this
linker runs. So I guess it is easy to claim that ld.so assumes that
the ELF is valid. I withdraw my patch if the general idea of allowing
the linker to do arbitrary things or crashing on invalid ELF is
acceptable.
Siddhesh
More information about the Libc-alpha
mailing list