Skip to content

Commit b307b3c

Browse files
mikhailkoliadaGit for Windows Build Agent
authored andcommitted
Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues
[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]>
1 parent b2f5e47 commit b307b3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci/lib.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ then
251251

252252
GIT_TEST_OPTS="--github-workflow-markup"
253253
JOBS=10
254+
255+
case "$jobname,$GITHUB_JOB" in
256+
linux*-leaks,*|linux*asan*|*,fuzz*)
257+
# https://github.com/actions/runner-images/issues/9491
258+
sudo sysctl vm.mmap_rnd_bits=28
259+
;;
260+
esac
254261
elif test true = "$GITLAB_CI"
255262
then
256263
CI_TYPE=gitlab-ci

0 commit comments

Comments
 (0)