From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10236 Path: news.gmane.org!not-for-mail From: Bobby Bingham Newsgroups: gmane.linux.lib.musl.general Subject: Re: request for help with aux Date: Mon, 27 Jun 2016 16:00:13 -0500 Message-ID: <20160627210013.GA7422@gordon> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1467061229 28253 80.91.229.3 (27 Jun 2016 21:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 21:00:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10249-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jun 27 23:00:28 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bHdds-0008Gh-Hv for gllmg-musl@m.gmane.org; Mon, 27 Jun 2016 23:00:28 +0200 Original-Received: (qmail 3364 invoked by uid 550); 27 Jun 2016 21:00:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 3346 invoked from network); 27 Jun 2016 21:00:25 -0000 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux gordon 3.18.1-gentoo User-Agent: Mutt/1.6.1 (2016-04-27) Xref: news.gmane.org gmane.linux.lib.musl.general:10236 Archived-At: 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