mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-15 13:56:34 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user