Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/ldd





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 original
mail) how does AT_SUN_EXECNAME get into the picture.  When a program
is executed - the kernel passes the name used to execute the program
in 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_EXECNAME
entry 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

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index