Fix ASLR to be smaller during asan/tsan/ubsan runs
authorNeil Horman <nhorman@openssl.org>
Thu, 14 Mar 2024 16:04:17 +0000 (12:04 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 15 Mar 2024 07:51:12 +0000 (08:51 +0100)
commit87ed886c597e8b5d8b5d3575a5099a46afaec930
tree94eb7e272d7c6b696a5a50e93cbd621bde6952e4
parent544c31d530785e59482381952270ea4aa457c40d
Fix ASLR to be smaller during asan/tsan/ubsan runs

Recently asan/tsan/ubsan runs have been failing randomly.  It appears
that a recent runner update may have led to the Address Space Layout
Randomization setting in the linux kernel of ubuntu-latest runner
getting set to too high a value (it defaults to 30).  Such a setting
leads to the possibility that a given application will have memory
mapped to an address space that the sanitizer code typically uses to do
its job.  Lowering this value allows a/t/ubsan to work consistently
again

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23842)

(cherry picked from commit 37cd49f57f9ce4128381ca122b0ac8ca21395265)
.github/workflows/ci.yml
.github/workflows/fuzz-checker.yml
.github/workflows/run-checker-merge.yml