Date: Wed, 2 Jan 2019 23:57:38 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r342709 - in stable: 11/usr.bin/procstat 12/usr.bin/procstat Message-ID: <201901022357.x02NvcHU016773@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Wed Jan 2 23:57:37 2019 New Revision: 342709 URL: https://svnweb.freebsd.org/changeset/base/342709 Log: MFC 339894: Teach procstat -x about the AT_EHDRFLAGS ELF auxiliary vector. Modified: stable/11/usr.bin/procstat/procstat_auxv.c Directory Properties: stable/11/ (props changed) Changes in other areas also in this revision: Modified: stable/12/usr.bin/procstat/procstat_auxv.c Directory Properties: stable/12/ (props changed) Modified: stable/11/usr.bin/procstat/procstat_auxv.c ============================================================================== --- stable/11/usr.bin/procstat/procstat_auxv.c Wed Jan 2 20:49:41 2019 (r342708) +++ stable/11/usr.bin/procstat/procstat_auxv.c Wed Jan 2 23:57:37 2019 (r342709) @@ -179,6 +179,12 @@ procstat_auxv(struct procstat *procstat, struct kinfo_ prefix, "AT_TIMEKEEP", auxv[i].a_un.a_ptr); break; #endif +#ifdef AT_EHDRFLAGS + case AT_EHDRFLAGS: + xo_emit("{dw:/%s}{Lw:/%-16s/%s}{:AT_EHDRFLAGS/%#lx}\n", + prefix, "AT_EHDRFLAGS", (u_long)auxv[i].a_un.a_val); + break; +#endif default: xo_emit("{dw:/%s}{Lw:/%16ld/%ld}{:UNKNOWN/%#lx}\n", prefix, auxv[i].a_type, auxv[i].a_un.a_val);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901022357.x02NvcHU016773>