[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/6] Revert "linux-user: Make sure initial brk(0) is page-ali
From: |
Andreas Schwab |
Subject: |
Re: [PATCH 1/6] Revert "linux-user: Make sure initial brk(0) is page-aligned" |
Date: |
Tue, 18 Jul 2023 15:53:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- [PATCH 0/6] linux-user: brk() syscall fixes and armhf static binary fix, Helge Deller, 2023/07/17
- [PATCH 1/6] Revert "linux-user: Make sure initial brk(0) is page-aligned", Helge Deller, 2023/07/17
- Re: [PATCH 1/6] Revert "linux-user: Make sure initial brk(0) is page-aligned",
Andreas Schwab <=
- [PATCH 2/6] linux-user: Fix qemu brk() to not zero bytes on current page, Helge Deller, 2023/07/17
- [PATCH 3/6] linux-user: Prohibit brk() to to shrink below initial heap address, Helge Deller, 2023/07/17
- [PATCH 4/6] linux-user: Fix signed math overflow in brk() syscall, Helge Deller, 2023/07/17
- [PATCH 5/6] linux-user: Fix strace output for old_mmap, Helge Deller, 2023/07/17
- [PATCH 6/6] linux-user: Fix qemu-arm to run static armhf binaries, Helge Deller, 2023/07/17
- Re: [PATCH 0/6] linux-user: brk() syscall fixes and armhf static binary fix, Philippe Mathieu-Daudé, 2023/07/17