On Feb 1, 2025, at 9:16 AM, Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
Not really. What I am confused about is (as I said in the originalmail) how does AT_SUN_EXECNAME get into the picture. When a programis executed - the kernel passes the name used to execute the programin the aux vector. But here, in ldd case, the program is _not_executed, so there is no aux vector, so there's no AT_SUN_EXECNAMEentry in this non-existent aux vector.Consider, e.g.: ldd -o /bin/*where -o uses the format that includes %a that we are talking about.
Yes, you are right. Fixed.
christos |