diff options
author | kib <kib@FreeBSD.org> | 2011-01-07 14:22:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-07 14:22:34 +0000 |
commit | ed862725de7f8ee2e06431a89eb83a4a77a59d1a (patch) | |
tree | 4e5084d420c0831b10711a9609fd0d49c93ab68c | |
parent | 89c67ba43c35b5c3e174f3c41f01a36f9ae45abd (diff) | |
download | FreeBSD-src-ed862725de7f8ee2e06431a89eb83a4a77a59d1a.zip FreeBSD-src-ed862725de7f8ee2e06431a89eb83a4a77a59d1a.tar.gz |
Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the
initial stack protection set by the kernel image activator.
-rw-r--r-- | sys/amd64/include/elf.h | 3 | ||||
-rw-r--r-- | sys/arm/include/elf.h | 3 | ||||
-rw-r--r-- | sys/i386/include/elf.h | 3 | ||||
-rw-r--r-- | sys/ia64/include/elf.h | 3 | ||||
-rw-r--r-- | sys/mips/include/elf.h | 3 | ||||
-rw-r--r-- | sys/powerpc/include/elf.h | 3 | ||||
-rw-r--r-- | sys/sparc64/include/elf.h | 3 | ||||
-rw-r--r-- | sys/sun4v/include/elf.h | 3 |
8 files changed, 16 insertions, 8 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h index 1f5c754..ded4e44 100644 --- a/sys/amd64/include/elf.h +++ b/sys/amd64/include/elf.h @@ -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. */ /* * Relocation types. diff --git a/sys/arm/include/elf.h b/sys/arm/include/elf.h index 4cb2ae3..d3f8873 100644 --- a/sys/arm/include/elf.h +++ b/sys/arm/include/elf.h @@ -82,8 +82,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. */ #define R_ARM_COUNT 33 /* Count of defined relocation types. */ diff --git a/sys/i386/include/elf.h b/sys/i386/include/elf.h index 6490f2a..9427811 100644 --- a/sys/i386/include/elf.h +++ b/sys/i386/include/elf.h @@ -96,8 +96,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. */ /* * Relocation types. diff --git a/sys/ia64/include/elf.h b/sys/ia64/include/elf.h index ab7706b..7b77220 100644 --- a/sys/ia64/include/elf.h +++ b/sys/ia64/include/elf.h @@ -95,8 +95,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. */ /* * Values for e_flags. diff --git a/sys/mips/include/elf.h b/sys/mips/include/elf.h index 2646181..30cc5f2 100644 --- a/sys/mips/include/elf.h +++ b/sys/mips/include/elf.h @@ -257,8 +257,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. */ #define ET_DYN_LOAD_ADDR 0x0120000 diff --git a/sys/powerpc/include/elf.h b/sys/powerpc/include/elf.h index e1a5bc8..f5d287c 100644 --- a/sys/powerpc/include/elf.h +++ b/sys/powerpc/include/elf.h @@ -105,8 +105,9 @@ __ElfType(Auxinfo); #define AT_NCPUS 17 /* Number of CPUs. */ #define AT_PAGESIZES 18 /* Pagesizes. */ #define AT_PAGESIZESLEN 19 /* Number of pagesizes. */ +#define AT_STACKPROT 21 /* Initial stack protection. */ -#define AT_COUNT 20 /* Count of defined aux entry types. */ +#define AT_COUNT 22 /* Count of defined aux entry types. */ /* * Relocation types. diff --git a/sys/sparc64/include/elf.h b/sys/sparc64/include/elf.h index 0618434..f61b860 100644 --- a/sys/sparc64/include/elf.h +++ b/sys/sparc64/include/elf.h @@ -90,8 +90,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. */ /* Define "machine" characteristics */ #if __ELF_WORD_SIZE == 32 diff --git a/sys/sun4v/include/elf.h b/sys/sun4v/include/elf.h index 0618434..f61b860 100644 --- a/sys/sun4v/include/elf.h +++ b/sys/sun4v/include/elf.h @@ -90,8 +90,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. */ /* Define "machine" characteristics */ #if __ELF_WORD_SIZE == 32 |