svn commit: r217097 - in head/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include sun4v/include

Ben Kaduk minimarmot at gmail.com
Fri Jan 7 17:02:58 UTC 2011


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?

-Ben Kaduk


More information about the svn-src-head mailing list