HomeFreeBSD

copyin tests: Use the KERN_PROC_VM_LAYOUT sysctl to fetch layout info

Description

copyin tests: Use the KERN_PROC_VM_LAYOUT sysctl to fetch layout info

... rather than using the KERN_PROC_PS_STRINGS value to derive the top
of the user address space.

Reviewed by: kib
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33708

Details

Provenance
markjAuthored on Jan 17 2022, 4:43 PM
Reviewer
kib
Differential Revision
D33708: Add a sysctl to fetch virtual address space layout info
Parents
rG3ce04aca49e9: proc: Add a sysctl to fetch virtual address space layout info
Branches
Unknown
Tags
Unknown