https://github.com/python/cpython/commit/dc0add3a65fc5de8f0ec8a687dccba435d52d97a
commit: dc0add3a65fc5de8f0ec8a687dccba435d52d97a
branch: main
author: Stan Ulbrych <[email protected]>
committer: vstinner <[email protected]>
date: 2026-10-05T21:09:36+02:00
summary:

gh-158868: Reduce ASLR in the MSan CI job (#158872)

files:
M .github/workflows/reusable-san.yml

diff --git a/.github/workflows/reusable-san.yml 
b/.github/workflows/reusable-san.yml
index da6306a50cf7bc..f63c2b89134aca 100644
--- a/.github/workflows/reusable-san.yml
+++ b/.github/workflows/reusable-san.yml
@@ -72,6 +72,8 @@ jobs:
     - name: MSan option setup
       if: inputs.sanitizer == 'MSan'
       run: |
+        sudo sysctl -w vm.mmap_rnd_bits=28  # Reduce ASLR to avoid MSan 
re-executing
+
         echo "MSAN_OPTIONS=${SAN_LOG_OPTION} allocator_may_return_null=1 
handle_segv=0" >> "$GITHUB_ENV"
         # MSan reports false positives for memory initialized by libraries
         # that are not built with MSan, so disable modules that use them.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to