HomeFreeBSD

Preserve ASLR vm_map flags across fork

Description

Preserve ASLR vm_map flags across fork

In the most common case (fork+execve) this doesn't matter, but further
attempts to apply entropy would fail in (e.g.) a pre-fork server.

Reported by: Alfredo Mazzinghi
Reviewed by: kib, markj
Obtained from: CheriBSD
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D25966

Details

Provenance
brooksAuthored on Aug 6 2020, 4:20 PM
Parents
rG70fc0cc3874f: pkgbase: Add the possibility to choose the output dir
Branches
Unknown
Tags
Unknown

Event Timeline