Page MenuHomeFreeBSD

procstat(1): Properly display AT_EHDRFLAGS
ClosedPublic

Authored by lattera-gmail.com on Sep 7 2018, 12:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 26, 9:02 AM
Unknown Object (File)
Mon, Mar 25, 3:23 AM
Unknown Object (File)
Dec 24 2023, 12:39 AM
Unknown Object (File)
Dec 23 2023, 3:52 PM
Unknown Object (File)
Dec 23 2023, 4:41 AM
Unknown Object (File)
Dec 13 2023, 3:29 AM
Unknown Object (File)
Dec 11 2023, 7:33 AM
Unknown Object (File)
Sep 30 2023, 3:38 AM

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped