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
Parents
rS368771: proc.h: Reformat P_ and P2_ definitions.
Branches
Unknown
Tags
Unknown