Date: Fri, 30 Sep 2022 02:04:12 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 49246fc249a6 - stable/13 - procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM Message-ID: <202209300204.28U24Cpj099165@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=49246fc249a62680ebdd3f211fe384d70902728c commit 49246fc249a62680ebdd3f211fe384d70902728c Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-09-15 10:14:17 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-09-30 00:29:09 +0000 procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM (cherry picked from commit 1d280f21427f560c696476366cfeb74d93629293) --- usr.bin/procstat/procstat_auxv.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr.bin/procstat/procstat_auxv.c b/usr.bin/procstat/procstat_auxv.c index d62ed6028569..d58faf9777c4 100644 --- a/usr.bin/procstat/procstat_auxv.c +++ b/usr.bin/procstat/procstat_auxv.c @@ -245,6 +245,20 @@ procstat_auxv(struct procstat *procstat, struct kinfo_proc *kipp) xo_emit("{dw:/%s}{Lw:/%-16s/%s}{:AT_KPRELOAD/%p}\n", prefix, "AT_KPRELOAD", auxv[i].a_un.a_ptr); break; +#endif +#ifdef AT_USRSTACKBASE + case AT_USRSTACKBASE: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKBASE/%#lx}\n", + prefix, "AT_USRSTACKBASE", auxv[i].a_un.a_val); + break; +#endif +#ifdef AT_USRSTACKLIM + case AT_USRSTACKLIM: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}" + "{:AT_USRSTACKLIM/%#lx}\n", + prefix, "AT_USRSTACKLIM", auxv[i].a_un.a_val); + break; #endif default: xo_emit("{dw:/%s}{Lw:/%16ld/%ld}{:UNKNOWN/%#lx}\n",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209300204.28U24Cpj099165>