Date: Wed, 17 May 2017 16:22:45 -0500 From: John Regan <saxindustries@...il.com> To: musl@...ts.openwall.com Subject: Re: Question about setting argv when manually using dynamic linker On Wed, May 17, 2017 at 4:15 PM, mzpqnxow <musl@...qnxow.com> wrote: > Does the shell built-in "exec" -a app1 /bah/dynamic-loader.so > /path/to/app1" work or it has the same problem with argv getting reset? > > It looks like argv 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 - http://pubs.opengroup.org/onlinepubs/009604599/utilities/exec.html - nor do I see anything about it on the dash man page - https://linux.die.net/man/1/dash, 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.