]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libprocstat: copy all the 32-bit auxv entries
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 16 Oct 2023 16:53:22 +0000 (17:53 +0100)
committerBrooks Davis <brooks@FreeBSD.org>
Mon, 16 Oct 2023 16:58:43 +0000 (17:58 +0100)
commit8f06fabe39ac3ebca4ab448a456945008305a23f
treee1beff46651e0e2b55e0a93012f23d21a199f2f0
parent72a4ee26a7c665ae1c31abe1c6feeaa7ccaba140
libprocstat: copy all the 32-bit auxv entries

Use source struct size not the destination struct size so we copy all
the auxv entries, not just the first half of them.

Fix a style issue on an adjacent line.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42200
lib/libprocstat/libprocstat.c