HomeFreeBSD

libprocstat: simplify auxv value conversion

Description

libprocstat: simplify auxv value conversion

Avoid a weird dance through the union and treat all 32-bit values as
unsigned integers. This avoids sign extension of flags and userspace
pointers.

Reviewed by: markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42198

Details

Provenance
brooksAuthored on Oct 16 2023, 4:52 PM
Reviewer
markj
Differential Revision
D42198: libprocstat: simplify auxv value conversion
Parents
rGd62e01996e7c: pmap_kextract(9): tweaks
Branches
Unknown
Tags
Unknown