ld.so: Adjust the auxv if ld.so is directly invoked.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 15 Jan 2010 17:09:35 +0000 (09:09 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 15 Jan 2010 17:09:35 +0000 (09:09 -0800)
commit3a56ea26730755076cb5bc1d07727c7a4fcb8fd7
tree37a1e680e8b1e9301e7e7493a64e776f72e7df93
parent5306d3613a3e71d8ede6529e858e2398223ac3da
ld.so: Adjust the auxv if ld.so is directly invoked.

If a binary gets invoked by passing it as argument to ld.so the stack
still holds the auxiliary vector of ld.so when entering the _start
routine of the executable.  So the invocation via ld.so is not fully
transparent to the executable.  This causes problems if the executable
wants to scan the auxv itself.
ChangeLog
elf/dl-open.c
elf/dl-sysdep.c
elf/rtld.c
sysdeps/generic/ldsodefs.h