aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2022-09-15 10:16:30 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2022-09-16 20:24:18 +0000
commitdaa85548d5cfc65e4beb7a211a155ae9b9fc41d9 (patch)
treed0048e6a1752f02df7d32230f37e9bce09d873fc
parente03c7f50054182549e097f9fbd9387d8c55ef521 (diff)
downloadsrc-daa85548d5cfc65e4beb7a211a155ae9b9fc41d9.tar.gz
src-daa85548d5cfc65e4beb7a211a155ae9b9fc41d9.zip
rtld: teach LD_SHOW_AUXV about AT_USRSTACK*
Reviewed by: brooks, imp (previous version) Discussed with: markj Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D36540
-rw-r--r--libexec/rtld-elf/rtld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index e08ab9f947c7..86515ef416d3 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -6192,6 +6192,8 @@ static const struct auxfmt {
AUXFMT(AT_PS_STRINGS, "%p"),
AUXFMT(AT_FXRNG, "%p"),
AUXFMT(AT_KPRELOAD, "%p"),
+ AUXFMT(AT_USRSTACKBASE, "%#lx"),
+ AUXFMT(AT_USRSTACKLIM, "%#lx"),
};
static bool