On 7/18/23 15:53, Andreas Schwab wrote:
On Jul 17 2023, Helge Deller wrote:This reverts commit d28b3c90cfad1a7e211ae2bce36ecb9071086129. It just hides the real bug, and even the Linux kernel may return page-unaligned addresses.The initial brk is always page aligned, see binfmt_elf.c:set_brk and the various arch_randomize_brk implementations.
Oh, your are absolutely right. I indeed missed to look at binfmt_elf.c:set_brk(). I'll drop this patch in the v2 series. Thanks! Helge