aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-01-07 14:22:34 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-01-07 14:22:34 +0000
commit39198f15ee6807b463a36f9ad0c848259cdacc0a (patch)
tree4e5084d420c0831b10711a9609fd0d49c93ab68c /sys/amd64/include
parent8ef92ea65eb47a826101126730cc0697baf53823 (diff)
downloadsrc-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.h3
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.