allow specifying argv[0] when invoking a program via ldso command
authorRich Felker <dalias@aerifal.cx>
Tue, 4 Jul 2017 20:58:28 +0000 (16:58 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 4 Jul 2017 20:58:28 +0000 (16:58 -0400)
commitf3055e0163aad1cebb0867078643b36643c5d95f
treeb3ee332a4decd39b65aa930dae70e0d90b8f7036
parent43c423af5b8453afde86e4ba81e0fcc663ae7c22
allow specifying argv[0] when invoking a program via ldso command

previously, the pathname used to load the program was always used as
argv[0]. the default remains the same, but a new --argv0 option can be
used to provide a different value.
ldso/dynlink.c