mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Bobby Bingham <koorogi@koorogi.info>
To: musl@lists.openwall.com
Subject: Re: request for help with aux
Date: Mon, 27 Jun 2016 16:00:13 -0500	[thread overview]
Message-ID: <20160627210013.GA7422@gordon> (raw)
In-Reply-To: <CALzRTRnENpgnCRdJBfOb2CwAD-h6EE_mxgSXPi0abnWuNZsbaQ@mail.gmail.com>

On Mon, Jun 27, 2016 at 01:07:59PM -0700, Daniel Wilkerson wrote:
> This seems to initalize aux to be all zeros, so it seems that in
> theory all of the aux values could be optional:
>
>         size_t i, *auxv, aux[AUX_CNT] = { 0 };
>
> What I'm wondering is where to find the semantics of all of the aux
> names; I could hunt through all of the code, but any high-level
> suggestions you could provide could help a lot.  As a bonus, which
> ones might not have sensible defaults and are actually non-optional,
> if any.

The getauxval man page is a good starting point:
http://man7.org/linux/man-pages/man3/getauxval.3.html

--
Bobby


  reply	other threads:[~2016-06-27 21:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-27 20:07 Daniel Wilkerson
2016-06-27 21:00 ` Bobby Bingham [this message]
2016-06-27 21:33   ` Daniel Wilkerson
2016-06-27 21:49     ` Nathan McSween
2016-06-27 21:58 ` Rich Felker
2016-06-28  0:22 ` Patrick Oppenlander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160627210013.GA7422@gordon \
    --to=koorogi@koorogi.info \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).