mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Linux updated its ASLR randomization in a way that is incompatible with TSAN. See https://github.com/google/sanitizers/issues/1716 Reducing the randomness for ASLR allows the sanitizers to cope.
8 lines
187 B
Bash
Executable File
8 lines
187 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -ex
|
|
|
|
# Linux updated its ASLR randomization in a way that is incompatible with
|
|
# TSAN. See https://github.com/google/sanitizers/issues/1716
|
|
sudo sysctl vm.mmap_rnd_bits=28
|