Merge pull request #2962 from DeusData/fix/msan-lane-aslr

ci(msan): lower mmap ASLR entropy on the host before the MSan suite
This commit is contained in:
Martin Vogel
2026-11-12 19:06:04 +01:00
committed by GitHub
+8 -1
View File
@@ -460,7 +460,14 @@ jobs:
run: scripts/ci/msan-lane.sh build
- name: MSan suite (exclusions per scripts/msan.sh)
run: scripts/ci/msan-lane.sh run
# Reduce mmap ASLR entropy on the host first, as the TSan leg does: with
# the runner kernel's higher default the MSan runtime tries to re-exec
# itself with ADDR_NO_RANDOMIZE, which the container's seccomp profile
# refuses, and it aborts ("CHECK failed: msan_linux.cpp:193 ...
# personality") before any test runs. The container shares this kernel.
run: |
sudo sysctl -w vm.mmap_rnd_bits=28 || true
scripts/ci/msan-lane.sh run
# macOS leak coverage. LeakSanitizer runs by default under ASan on Linux, so
# test-unix's ubuntu legs have always had it; on macOS it is off by default