HomeFreeBSD

exec: Remove the stack gap implementation

Description

exec: Remove the stack gap implementation

ASLR stack randomization will reappear in a forthcoming commit. Rather
than inserting a random gap into the stack mapping, the entire stack
mapping itself will be randomized in the same way that other mappings
are when ASLR is enabled.

No functional change intended, as the stack gap implementation is
currently disabled by default.

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:706f4a81a812: exec: Introduce the PROC_PS_STRINGS() macro
Branches
Unknown
Tags
Unknown