HomeFreeBSD

sysent: Add a sv_psstringssz field to struct sysentvec

Description

sysent: Add a sv_psstringssz field to struct sysentvec

The size of the ps_strings structure varies between ABIs, so this is
useful for computing the address of the ps_strings structure relative to
the top of the stack when stack address randomization is enabled.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33704

Details

Provenance
markjAuthored on Jan 17 2022, 4:42 PM
Reviewer
kib
Differential Revision
D33704: Rework the stack gap implementation
Parents
R10:1544f5add8c7: Revert "kern_exec: Add kern.stacktop sysctl."
Branches
Unknown
Tags
Unknown