This is the mail archive of the glibc-bugs@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: [Bug libc/16124] New: ld.so should allow to change argv[0]


On Tue, Nov 05, 2013 at 06:04:33PM +0000, piotr.roszatycki at gmail dot com wrote:
> 
> Any program can be started via dynamic loader explicitly, ie.
> /lib64/ld-linux-x86-64.so.2. Unfortunately, there is no possibility to change
> argv[0]. It makes this loader not so useful as it might be.
> 
> It would be nice if ld.so had an additional option which would replace argv[0].
> 
Changing argv[0] is lying about binary name, how this would be used?


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