Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 23:13:09 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 184911 for review
Message-ID:  <201010192313.o9JND9Bo022417@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@184911?ac=10

Change 184911 by gonzo@gonzo_figaro on 2010/10/19 23:13:08

	Merge kib's patch:
	    Supply some useful information to the started image using ELF aux
	    vectors.  In particular, provide pagesize and pagesizes array, the
	    canary value for SSP use, number of host CPUs and osreldate.

Affected files ...

.. //depot/projects/avr32/src/sys/avr32/include/elf.h#4 edit

Differences ...

==== //depot/projects/avr32/src/sys/avr32/include/elf.h#4 (text+ko) ====

@@ -78,7 +78,14 @@
 #define AT_EGID         14      /* Effective gid. */
 #define	AT_EXECPATH	15	/* Path to the executable. */
 
-#define AT_COUNT        16      /* Count of defined aux entry types. */
+#define	AT_CANARY	16	/* Canary for SSP */
+#define	AT_CANARYLEN	17	/* Length of the canary. */
+#define	AT_OSRELDATE	18	/* OSRELDATE. */
+#define	AT_NCPUS	19	/* Number of CPUs. */
+#define	AT_PAGESIZES	20	/* Pagesizes. */
+#define	AT_PAGESIZESLEN	21	/* Number of pagesizes. */
+
+#define AT_COUNT        22      /* Count of defined aux entry types. */
 
 
 /* Define "machine" characteristics */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010192313.o9JND9Bo022417>