diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2011-01-07 14:22:34 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2011-01-07 14:22:34 +0000 |
commit | 39198f15ee6807b463a36f9ad0c848259cdacc0a (patch) | |
tree | 4e5084d420c0831b10711a9609fd0d49c93ab68c /sys/amd64/include | |
parent | 8ef92ea65eb47a826101126730cc0697baf53823 (diff) | |
download | src-39198f15ee6807b463a36f9ad0c848259cdacc0a.tar.gz src-39198f15ee6807b463a36f9ad0c848259cdacc0a.zip |
Add AT_STACKPROT elf aux vector. Will be used to inform rtld about the
initial stack protection set by the kernel image activator.
Notes
Notes:
svn path=/head/; revision=217097
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/elf.h b/sys/amd64/include/elf.h index 1f5c754d663a..ded4e44f0bb9 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. |