Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bsd-user: Implement do_obreak function
Match linux-user, by manually applying the following commits, in order: d28b3c9 linux-user: Make sure initial brk(0) is page-aligned 15ad985 linux-user: Fix qemu brk() to not zero bytes on current page dfe4986 linux-user: Prohibit brk() to to shrink below initial heap address eac78a4 linux-user: Fix signed math overflow in brk() syscall c6cc059 linux-user: Do not call get_errno() in do_brk() e69e032 linux-user: Use MAP_FIXED_NOREPLACE for do_brk() cb9d5d1 linux-user: Do nothing if too small brk is specified 2aea137 linux-user: Do not align brk with host page size Signed-off-by: Stacey Son <sson@FreeBSD.org> Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230925182709.4834-19-kariem.taha2.7@gmail.com>
- Loading branch information