diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2023-04-22 12:03:13 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2023-05-17 07:20:29 +0200 |
commit | 64d06015f6f44e3338af0ab2968ef7467dd2f3ef (patch) | |
tree | a1f57e659fd5c324242c07c1884c06a8c5d8f830 | |
parent | b67e5cb43b64cd511785aa1b35876b5e5bf55f69 (diff) |
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 <thomas@t-8ch.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20230422100314.1650-2-thomas@t-8ch.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r-- | linux-user/qemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |