[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 6/9] linux-user: Add new flag VERIFY_NONE
From: |
Laurent Vivier |
Subject: |
[PULL 6/9] linux-user: Add new flag VERIFY_NONE |
Date: |
Mon, 15 May 2023 10:31:10 +0200 |
From: Thomas Weißschuh <thomas@t-8ch.de>
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>
---
linux-user/qemu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index e2e93fbd1d5d..92f9f5af41c7 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)
--
2.40.1
- [PULL 4/9] linux-user: Add open_tree() syscall, (continued)
- [PULL 4/9] linux-user: Add open_tree() syscall, Laurent Vivier, 2023/05/12
- [PULL 9/9] linux-user: fix getgroups/setgroups allocations, Laurent Vivier, 2023/05/12
- [PULL 8/9] linux-user: Fix mips fp64 executables loading, Laurent Vivier, 2023/05/12
- [PULL 5/9] linux-user/main: Use list_cpus() instead of cpu_list(), Laurent Vivier, 2023/05/12
- [PULL 1/9] linux-user: Emulate /proc/cpuinfo output for riscv, Laurent Vivier, 2023/05/12
- Re: [PULL 0/9] Linux user for 8.1 patches, Richard Henderson, 2023/05/13
- [PULL 0/9] Linux user for 8.1 patches, Laurent Vivier, 2023/05/15
- [PULL 2/9] linux-user: report ENOTTY for unknown ioctls, Laurent Vivier, 2023/05/15
- [PULL 3/9] linux-user: Add move_mount() syscall, Laurent Vivier, 2023/05/15
- [PULL 4/9] linux-user: Add open_tree() syscall, Laurent Vivier, 2023/05/15
- [PULL 6/9] linux-user: Add new flag VERIFY_NONE,
Laurent Vivier <=
- [PULL 9/9] linux-user: fix getgroups/setgroups allocations, Laurent Vivier, 2023/05/15
- [PULL 5/9] linux-user/main: Use list_cpus() instead of cpu_list(), Laurent Vivier, 2023/05/15
- [PULL 1/9] linux-user: Emulate /proc/cpuinfo output for riscv, Laurent Vivier, 2023/05/15
- [PULL 7/9] linux-user: Don't require PROT_READ for mincore, Laurent Vivier, 2023/05/15
- [PULL 8/9] linux-user: Fix mips fp64 executables loading, Laurent Vivier, 2023/05/15
- Re: [PULL 0/9] Linux user for 8.1 patches, Richard Henderson, 2023/05/15