Solaris equivalent for getauxval(AT_EXECFN)
sanelson at gmail.com
Thu Jan 3 09:55:46 CET 2019
Unless I'm missing something, isn't this what /usr/proc/bin/pargs does?
On Wed, Jan 2, 2019 at 11:55 PM Jeffrey Walton via users
<users at lists.opencsw.org> wrote:
> Hi Everyone,
> I'm looking for a quick-and-dirty way to get argv without the
> worries of hardlink or execve tricks. Modern Linux/glibc provides
> I performed a quick search for Solaris but I am not finding useful
> results. I also made a quick grep of Solaris headers but got 0 results
> because I am not sure what I am search for.
> Does Solaris have a rough equivalent to Linux/glibc
> getauxval(AT_EXECFN)? if so, then what is it?
> Thanks and sorry for the extra noise.
More information about the users