qemu-devel
[Top][All Lists]
Advanced

[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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]