svn commit: r342709 - in stable: 11/usr.bin/procstat 12/usr.bin/procstat
John Baldwin
jhb at FreeBSD.org
Wed Jan 2 23:57:39 UTC 2019
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);
More information about the svn-src-stable-11
mailing list