qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] linux-user: brk/mmap fixes
@ 2023-07-31  8:03 Akihiko Odaki
  2023-07-31  8:03 ` [PATCH 1/5] linux-user: Unset MAP_FIXED_NOREPLACE for host Akihiko Odaki
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Akihiko Odaki @ 2023-07-31  8:03 UTC (permalink / raw)
  Cc: qemu-devel, Laurent Vivier, Akihiko Odaki

linux-user was failing on M2 MacBook Air. Digging into the details, I found
several bugs in brk and mmap so here are fixes.

Akihiko Odaki (5):
  linux-user: Unset MAP_FIXED_NOREPLACE for host
  linux-user: Do not call get_errno() in do_brk()
  linux-user: Use MAP_FIXED_NOREPLACE for do_brk()
  linux-user: Do nothing if too small brk is specified
  linux-user: Do not align brk with host page size

 linux-user/elfload.c |  4 +--
 linux-user/mmap.c    |  2 ++
 linux-user/syscall.c | 67 +++++++++-----------------------------------
 3 files changed, 17 insertions(+), 56 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2023-08-02 10:37 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31  8:03 [PATCH 0/5] linux-user: brk/mmap fixes Akihiko Odaki
2023-07-31  8:03 ` [PATCH 1/5] linux-user: Unset MAP_FIXED_NOREPLACE for host Akihiko Odaki
2023-07-31 15:43   ` Richard Henderson
2023-07-31  8:03 ` [PATCH 2/5] linux-user: Do not call get_errno() in do_brk() Akihiko Odaki
2023-07-31 15:13   ` Helge Deller
2023-07-31  8:03 ` [PATCH 3/5] linux-user: Use MAP_FIXED_NOREPLACE for do_brk() Akihiko Odaki
2023-07-31 11:44   ` Peter Maydell
2023-07-31 13:32     ` Akihiko Odaki
2023-07-31 13:45       ` Peter Maydell
2023-07-31 15:44       ` Richard Henderson
2023-07-31  8:03 ` [PATCH 4/5] linux-user: Do nothing if too small brk is specified Akihiko Odaki
2023-07-31 15:16   ` Helge Deller
2023-07-31  8:03 ` [PATCH 5/5] linux-user: Do not align brk with host page size Akihiko Odaki
2023-07-31 15:51   ` Helge Deller
2023-07-31 22:43     ` Akihiko Odaki
2023-07-31  9:31 ` [PATCH 0/5] linux-user: brk/mmap fixes Michael Tokarev
2023-07-31 10:17   ` Joel Stanley
2023-07-31 10:23     ` Akihiko Odaki
2023-07-31 16:47       ` Helge Deller
2023-07-31 17:43         ` Helge Deller
2023-07-31 18:24           ` Helge Deller
2023-08-01  4:49             ` Joel Stanley
2023-08-01 10:43               ` Helge Deller
2023-08-02  7:26                 ` Akihiko Odaki
2023-08-02 10:37                   ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).