mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
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>
This commit is contained in:
parent
b67e5cb43b
commit
64d06015f6
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue