From: Thomas Weißschuh Date: Sat, 22 Apr 2023 10:03:13 +0000 (+0200) Subject: linux-user: Add new flag VERIFY_NONE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=64d06015f6f44e3338af0ab2968ef7467dd2f3ef;p=qemu.git linux-user: Add new flag VERIFY_NONE This can be used to validate that an address range is mapped but without being readable or writable. It will be used by an updated implementation of mincore(). Signed-off-by: Thomas Weißschuh Reviewed-by: Laurent Vivier Message-Id: <20230422100314.1650-2-thomas@t-8ch.de> Signed-off-by: Laurent Vivier --- diff --git a/linux-user/qemu.h b/linux-user/qemu.h index e2e93fbd1d..92f9f5af41 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -168,6 +168,7 @@ abi_long do_brk(abi_ulong new_brk); /* user access */ +#define VERIFY_NONE 0 #define VERIFY_READ PAGE_READ #define VERIFY_WRITE (PAGE_READ | PAGE_WRITE)