svn commit: r217097 - in head/sys: amd64/include arm/include
i386/include ia64/include mips/include powerpc/include
sparc64/include sun4v/include
Kostik Belousov
kostikbel at gmail.com
Fri Jan 7 17:26:08 UTC 2011
On Fri, Jan 07, 2011 at 12:02:55PM -0500, Ben Kaduk wrote:
> On Fri, Jan 7, 2011 at 9:22 AM, Konstantin Belousov <kib at freebsd.org> wrote:
> > Author: kib
> > Date: Fri Jan 7 14:22:34 2011
> > New Revision: 217097
> > URL: http://svn.freebsd.org/changeset/base/217097
> >
> > Log:
> > Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the
> > initial stack protection set by the kernel image activator.
> >
> ==============================================================================
> > --- head/sys/amd64/include/elf.h Fri Jan 7 14:17:29 2011 (r217096)
> > +++ head/sys/amd64/include/elf.h Fri Jan 7 14:22:34 2011 (r217097)
> > @@ -94,8 +94,9 @@ __ElfType(Auxinfo);
> > #define AT_NCPUS 19 /* Number of CPUs. */
> > #define AT_PAGESIZES 20 /* Pagesizes. */
> > #define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
> > +#define AT_STACKPROT 23 /* Initial stack protection. */
> >
> > -#define AT_COUNT 22 /* Count of defined aux entry types. */
> > +#define AT_COUNT 24 /* Count of defined aux entry types. */
>
>
> Is there a reason to skip 22?
Yes, I can swear that I saw the reference that stated that even aux vector
types are used for Elf_Auxinfo.a_un.a_ptr, and odd are for a_val.
I already received a private inquiry about the same issue, probably had
to note this in the commit message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20110107/8fdf3938/attachment.pgp
More information about the svn-src-head
mailing list