Alex Bennée 38138fab93 linux-user/mmap.c: handle invalid len maps correctly
I've slightly re-organised the check to more closely match the
sequence that the kernel uses in do_mmap(). We check for both the zero
case (EINVAL) and the overflow length case (ENOMEM).

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: umarcor <1783362@bugs.launchpad.net>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20180730134321.19898-2-alex.bennee@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2018-07-31 09:57:25 +02:00
..
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2017-10-16 16:00:56 +03:00
2018-06-04 01:30:44 +02:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00