Page MenuHomeFreeBSD

procstat(1): Properly display AT_EHDRFLAGS

Authored by on Sep 7 2018, 12:41 AM.



FreeBSD commits e5ea82a50dd64a3e47767b132a16281242ff396d and 37aff5708d94f92a0ef7eb97d67298f5ecd30de1 introduced the AT_EHDRFLAGS ELF auxiliary vector (auxvec). procstat(1) is missing the ability to properly display this new auxvec. Teach procstat(1) about AT_EHDRFLAGS.

Sponsored by: HardenedBSD
Obtained from: HardenedBSD (bb71e9889d1362df01c2e5162e84cd7a4fc029c8)

Test Plan
  1. Apply the patch
  2. Recompile procstat(1) and reinstall it
  3. Run procstat -x <pid>, replacing <pid> with the PID of any process except PID 1.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline edited the summary of this revision. (Show Details)Sep 7 2018, 12:43 AM
pi added a subscriber: pi.Sep 7 2018, 4:25 AM
brooks accepted this revision.Sep 7 2018, 3:23 PM
brooks added a subscriber: brooks.


This revision is now accepted and ready to land.Sep 7 2018, 3:23 PM
This revision was automatically updated to reflect the committed changes.