]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: reduce aslr level to avoid issues with ASAN
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 19 Mar 2024 21:21:54 +0000 (22:21 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 20 Mar 2024 13:08:31 +0000 (14:08 +0100)
As we have multiple different configurations using ASAN just disable it
for all of them.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit c74ccea0af4d0354be60cece679b63de7f06400d)

.github/workflows/cibuild-setup-ubuntu.sh

index 7e75025d10778256d52cee551cf5963599570afe..cb4668725fb05ac899d12a70b1e6e3b3fa74c29d 100755 (executable)
@@ -81,6 +81,9 @@ else
     fatal "Unknown compiler: $COMPILER"
 fi
 
+# ASAN can crash with the new default of =32
+sysctl --write vm.mmap_rnd_bits=28
+
 
 apt-get -y update --fix-missing
 apt-get -y build-dep util-linux