From 2e0c2fb8fb15faeedf213930a4c2a3a6d584101f Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 15 Mar 2024 10:03:20 +0000 Subject: [PATCH] cifuzz,cflite: set mmap_rnd_bits to 28 to get MSan jobs to work with the latest Ubuntu images. https://github.com/google/sanitizers/issues/1614 https://github.com/actions/runner-images/issues/9491 --- .github/workflows/cflite_pr.yml | 1 + .github/workflows/cifuzz.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml index 707ea0b6ba6..bf7a14e356a 100644 --- a/.github/workflows/cflite_pr.yml +++ b/.github/workflows/cflite_pr.yml @@ -23,6 +23,7 @@ jobs: matrix: sanitizer: [address, undefined, memory] steps: + - run: sudo sysctl -w vm.mmap_rnd_bits=28 - name: Build Fuzzers id: build uses: google/clusterfuzzlite/actions/build_fuzzers@v1 diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index a12ad9335f9..3aaaa3fd751 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -39,6 +39,7 @@ jobs: security-events: write steps: + - run: sudo sysctl -w vm.mmap_rnd_bits=28 - name: Build Fuzzers id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master