HomeFreeBSD

compiler-rt: re-exec with ASLR disabled when necessary

Description

compiler-rt: re-exec with ASLR disabled when necessary

Some sanitizers (at least msan) currently require ASLR to be disabled.
When we detect that ASLR is enabled, re-exec with it disabled rather
than exiting with an error. See LLVM GitHub issue 53256 for more
detail: https://github.com/llvm/llvm-project/issues/53256

No objection: dim
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33934

Details

Provenance
emasteAuthored on Jan 16 2022, 7:22 PM
Differential Revision
D33934: compiler-rt: re-exec with ASLR disabled when necessary
Parents
rG96fe7c8ab0f6: compiler-rt: support ReExec() on FreeBSD
Branches
Unknown
Tags
Unknown