diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index 69e132f1d..e0334e8ac 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -17,6 +17,8 @@ echo "---------------------------------------------------------------" +sysctl -w vm.mmap_rnd_bits=28 + OSS_FUZZ_ON_DEMAND="${OSS_FUZZ_ON_DEMAND:-0}" # This is a temporary fix: fall back to LLVM14's old pass manager diff --git a/infra/base-images/base-runner/run_fuzzer b/infra/base-images/base-runner/run_fuzzer index e7929a311..d3e2e7f2f 100755 --- a/infra/base-images/base-runner/run_fuzzer +++ b/infra/base-images/base-runner/run_fuzzer @@ -18,6 +18,8 @@ # Fuzzer runner. Appends .options arguments and seed corpus to users args. # Usage: $0 +sysctl -w vm.mmap_rnd_bits=28 + export PATH=$OUT:$PATH cd $OUT