linux-user: Do nothing if too small brk is specified
commitcb9d5d1fda0bc2312fc0c779b4ea1d7bf826f31f
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Wed, 2 Aug 2023 07:17:51 +0000 (2 16:17 +0900)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 6 Aug 2023 23:45:03 +0000 (6 16:45 -0700)
tree7e0a1e2916a4c5562461c562ffe45ad2c88af78e
parente69e032d1a8ee8d754ca119009a3c2c997f8bb30
linux-user: Do nothing if too small brk is specified

Linux 6.4.7 does nothing when a value smaller than the initial brk is
specified.

Fixes: 86f04735ac ("linux-user: Fix brk() to release pages")
Reviewed-by: Helge Deller <deller@gmx.de>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230802071754.14876-6-akihiko.odaki@daynix.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/syscall.c