aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-06-15 22:44:11 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2016-06-24 10:30:45 -0700
commitb00f86d0720d2cf44f3edb6101682074da1abe5d (patch)
tree4914fef4ca238a56e330a4eee0de530ddeb2175f /include/elf
parent6e321fa8f89da924026d758461a07e8a7faa0133 (diff)
downloadgdb-b00f86d0720d2cf44f3edb6101682074da1abe5d.zip
gdb-b00f86d0720d2cf44f3edb6101682074da1abe5d.tar.gz
gdb-b00f86d0720d2cf44f3edb6101682074da1abe5d.tar.bz2
Add constants for FreeBSD-specific auxiliary vector entry types.
include/ChangeLog: * elf/common.h (AT_FREEBSD_EXECPATH, AT_FREEBSD_CANARY) (AT_FREEBSD_CANARYLEN, AT_FREEBSD_OSRELDATE, AT_FREEBSD_NCPUS) (AT_FREEBSD_PAGESIZES, AT_FREEBSD_PAGESIZESLEN) (AT_FREEBSD_TIMEKEEP, AT_FREEBSD_STACKPROT): Define.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 087d876..d2da009d 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -1012,6 +1012,16 @@
#define AT_L2_CACHESHAPE 36
#define AT_L3_CACHESHAPE 37
+#define AT_FREEBSD_EXECPATH 15 /* Path to the executable. */
+#define AT_FREEBSD_CANARY 16 /* Canary for SSP. */
+#define AT_FREEBSD_CANARYLEN 17 /* Length of the canary. */
+#define AT_FREEBSD_OSRELDATE 18 /* OSRELDATE. */
+#define AT_FREEBSD_NCPUS 19 /* Number of CPUs. */
+#define AT_FREEBSD_PAGESIZES 20 /* Pagesizes. */
+#define AT_FREEBSD_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_FREEBSD_TIMEKEEP 22 /* Pointer to timehands. */
+#define AT_FREEBSD_STACKPROT 23 /* Initial stack protection. */
+
#define AT_SUN_UID 2000 /* Effective user ID. */
#define AT_SUN_RUID 2001 /* Real user ID. */
#define AT_SUN_GID 2002 /* Effective group ID. */