HomeFreeBSD

exec: Introduce the PROC_PS_STRINGS() macro

Description

exec: Introduce the PROC_PS_STRINGS() macro

Rather than fetching the ps_strings address directly from a process'
sysentvec, use this macro. With stack address randomization the
ps_strings address is no longer fixed.

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
rG5a8413e779a2: setrlimit: Remove special handling for RLIMIT_STACK with a stack gap
Branches
Unknown
Tags
Unknown