HomeFreeBSD

Add ELF flag to disable ASLR stack gap.

Description

Add ELF flag to disable ASLR stack gap.

Also centralize and unify checks to enable ASLR stack gap in a new
helper exec_stackgap().

PR: 239873
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on Dec 18 2020, 11:14 PM
Parents
rGc5354d593df9: proc.h: Reformat P_ and P2_ definitions.
Branches
Unknown
Tags
Unknown