File: setup-sanitizer-build.sh

package info (click to toggle)
libgit2 1.9.2%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 60,880 kB
  • sloc: ansic: 203,740; javascript: 2,458; sh: 1,767; python: 384; perl: 99; php: 65; makefile: 58
file content (7 lines) | stat: -rwxr-xr-x 187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#!/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