Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Dumitru Ceara
On 3/12/24 15:12, Ilya Maximets wrote: > On 3/12/24 13:16, Eelco Chaudron wrote: >> >> >> On 12 Mar 2024, at 12:47, Ilya Maximets wrote: >> >>> Starting with image version 20240310.1.0, GitHub runners are using >>> 32-bit entropy for ASLR: >>> >>> $ sudo sysctl -a | grep vm.mmap.rnd >>>

Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Ilya Maximets
On 3/12/24 13:16, Eelco Chaudron wrote: > > > On 12 Mar 2024, at 12:47, Ilya Maximets wrote: > >> Starting with image version 20240310.1.0, GitHub runners are using >> 32-bit entropy for ASLR: >> >> $ sudo sysctl -a | grep vm.mmap.rnd >> vm.mmap_rnd_bits = 32 >> vm.mmap_rnd_compat_bits =

Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Ilya Maximets
On 3/12/24 14:28, Dumitru Ceara wrote: > On 3/12/24 13:16, Eelco Chaudron wrote: >> >> >> On 12 Mar 2024, at 12:47, Ilya Maximets wrote: >> >>> Starting with image version 20240310.1.0, GitHub runners are using >>> 32-bit entropy for ASLR: >>> >>> $ sudo sysctl -a | grep vm.mmap.rnd >>>

Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Dumitru Ceara
On 3/12/24 13:16, Eelco Chaudron wrote: > > > On 12 Mar 2024, at 12:47, Ilya Maximets wrote: > >> Starting with image version 20240310.1.0, GitHub runners are using >> 32-bit entropy for ASLR: >> >> $ sudo sysctl -a | grep vm.mmap.rnd >> vm.mmap_rnd_bits = 32 >> vm.mmap_rnd_compat_bits =

Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Aaron Conole
Ilya Maximets writes: > Starting with image version 20240310.1.0, GitHub runners are using > 32-bit entropy for ASLR: > > $ sudo sysctl -a | grep vm.mmap.rnd > vm.mmap_rnd_bits = 32 > vm.mmap_rnd_compat_bits = 16 > > This breaks all the asan-enabled builds, because older asan gets >

Re: [ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Eelco Chaudron
On 12 Mar 2024, at 12:47, Ilya Maximets wrote: > Starting with image version 20240310.1.0, GitHub runners are using > 32-bit entropy for ASLR: > > $ sudo sysctl -a | grep vm.mmap.rnd > vm.mmap_rnd_bits = 32 > vm.mmap_rnd_compat_bits = 16 > > This breaks all the asan-enabled builds,

[ovs-dev] [PATCH] github: Reduce ASLR entropy to be compatible with asan in llvm 14.

2024-03-12 Thread Ilya Maximets
Starting with image version 20240310.1.0, GitHub runners are using 32-bit entropy for ASLR: $ sudo sysctl -a | grep vm.mmap.rnd vm.mmap_rnd_bits = 32 vm.mmap_rnd_compat_bits = 16 This breaks all the asan-enabled builds, because older asan gets confused by memory mappings and crashes with