]> 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:04:44 +0000 (14:04 +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>
.github/workflows/cibuild-setup-ubuntu.sh

index 88f8a58a42597da78bb5024c1a8f88a12c9b8e7f..fc7d6d0fe56044f29ecabe411f5257d8a03260eb 100755 (executable)
@@ -82,6 +82,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