[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 for 3.0 2/2] tests: add check_invalid_maps to
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v1 for 3.0 2/2] tests: add check_invalid_maps to test-mmap |
Date: |
Sat, 28 Jul 2018 09:45:39 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 07/26/2018 06:29 AM, Alex Bennée wrote:
> This adds a test to make sure we fail properly for a 0 length mmap.
> There are most likely other failure conditions we should also check.
>
> Signed-off-by: Alex Bennée <address@hidden>
> Cc: umarcor <address@hidden>
> ---
> tests/tcg/multiarch/test-mmap.c | 16 +++++++++++++++-
> 1 file changed, 15 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <address@hidden>
Might want to test length of e.g. -4 as well, which should get ENOMEM.
r~
[Qemu-devel] [PATCH v1 for 3.0 2/2] tests: add check_invalid_maps to test-mmap, Alex Bennée, 2018/07/26
- Re: [Qemu-devel] [PATCH v1 for 3.0 2/2] tests: add check_invalid_maps to test-mmap,
Richard Henderson <=
Re: [Qemu-devel] [PATCH v1 for 3.0 0/2] fix for bug 1783362, no-reply, 2018/07/27
Re: [Qemu-devel] [PATCH v1 for 3.0 0/2] fix for bug 1783362, no-reply, 2018/07/28