]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
compiler-rt: re-exec with ASLR disabled when necessary
authorEd Maste <emaste@FreeBSD.org>
Sun, 16 Jan 2022 19:22:05 +0000 (14:22 -0500)
committerEd Maste <emaste@FreeBSD.org>
Fri, 4 Feb 2022 16:20:00 +0000 (11:20 -0500)
commit930a7c2ac67e1e8e511aa1d0a31a16c632060ebb
treeb3aa4e99cfc44acf3303e42c025126ba2ac42db5
parent96fe7c8ab0f65cf829619abd74ae6c126b21e15f
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
contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp