Re: [PATCH v3 31/33] linux-user: Bound mmap_min_addr by host page size

2024-01-30 Thread Ilya Leoshkevich
On Tue, Jan 02, 2024 at 12:58:06PM +1100, Richard Henderson wrote: > Bizzarely, it is possible to set /proc/sys/vm/mmap_min_addr > to a value below the host page size. Fix that. > > Signed-off-by: Richard Henderson > --- > linux-user/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH v3 31/33] linux-user: Bound mmap_min_addr by host page size

2024-01-03 Thread Philippe Mathieu-Daudé
On 2/1/24 02:58, Richard Henderson wrote: Bizzarely, it is possible to set /proc/sys/vm/mmap_min_addr to a value below the host page size. Fix that. Signed-off-by: Richard Henderson --- linux-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-D

[PATCH v3 31/33] linux-user: Bound mmap_min_addr by host page size

2024-01-01 Thread Richard Henderson
Bizzarely, it is possible to set /proc/sys/vm/mmap_min_addr to a value below the host page size. Fix that. Signed-off-by: Richard Henderson --- linux-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/main.c b/linux-user/main.c index d00a0d7d1f..d5f3fa26c