Skip to content

Commit

Permalink
Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues
Browse files Browse the repository at this point in the history
[jes: to allow the ASAN/fuzz jobs to succeed, we need to take extra
steps for a couple of days due to a change of configuration in the
kernel version used in the GitHub Actions runner images.]

Based-on: actions/runner-images#9513
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information
mikhailkoliada authored and Git for Windows Build Agent committed Apr 10, 2024
1 parent f09a93d commit f01a287
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,13 @@ then

GIT_TEST_OPTS="--github-workflow-markup"
JOBS=10

case "$jobname,$GITHUB_JOB" in
linux*-leaks,*|linux*asan*|*,fuzz*)
# https://github.com/actions/runner-images/issues/9491
sudo sysctl vm.mmap_rnd_bits=28
;;
esac
elif test true = "$GITLAB_CI"
then
CI_TYPE=gitlab-ci
Expand Down

0 comments on commit f01a287

Please sign in to comment.