Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 17 May 2017 16:22:45 -0500
From: John Regan <>
Subject: Re: Question about setting argv[0] when manually using dynamic linker

On Wed, May 17, 2017 at 4:15 PM, mzpqnxow <> wrote:

> Does the shell built-in "exec" -a app1 /bah/
> /path/to/app1" work or it has the same problem with argv[0] getting reset?
It looks like argv[0] gets reset. Plus I don't think every shell's built-in
"exec" supports that -a flag. I don't see it mentioned in the POSIX man
page for exec - - nor do
I see anything about it on the dash man page -, I suspect that's specific to bash.

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.