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 <[email protected]>
  • Loading branch information
mikhailkoliada authored and dscho committed Mar 17, 2024
1 parent 554af33 commit 4c85755
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 @@ -245,6 +245,13 @@ then

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

case "${{ 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 4c85755

Please sign in to comment.