summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorRichard Henderson2021-02-12 19:48:46 +0100
committerPeter Maydell2021-02-16 12:04:53 +0100
commit46b12f461ca063e2cecc53d5805232f05336f02d (patch)
tree11c0e31bef349f9a6edbca5940f14db41efc9614 /linux-user/syscall.c
parentlinux-user: Use guest_range_valid in access_ok (diff)
downloadqemu-46b12f461ca063e2cecc53d5805232f05336f02d.tar.gz
qemu-46b12f461ca063e2cecc53d5805232f05336f02d.tar.xz
qemu-46b12f461ca063e2cecc53d5805232f05336f02d.zip
exec: Rename guest_{addr,range}_valid to *_untagged
The places that use these are better off using untagged addresses, so do not provide a tagged versions. Rename to make it clear about the address type. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210212184902.1251044-16-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d5badd753e..53529e4004 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4619,7 +4619,7 @@ static inline abi_ulong do_shmat(CPUArchState *cpu_env,
return -TARGET_EINVAL;
}
}
- if (!guest_range_valid(shmaddr, shm_info.shm_segsz)) {
+ if (!guest_range_valid_untagged(shmaddr, shm_info.shm_segsz)) {
return -TARGET_EINVAL;
}