diff options
| author | Richard Henderson | 2021-02-12 19:48:45 +0100 |
|---|---|---|
| committer | Peter Maydell | 2021-02-16 12:04:53 +0100 |
| commit | 114556c533acdaf4c2cdada245890572985b2912 (patch) | |
| tree | 0befaaccf7e9d6f73a58186de0296e35b922f6ce /include/exec | |
| parent | linux-user: Explicitly untag memory management syscalls (diff) | |
| download | qemu-114556c533acdaf4c2cdada245890572985b2912.tar.gz qemu-114556c533acdaf4c2cdada245890572985b2912.tar.xz qemu-114556c533acdaf4c2cdada245890572985b2912.zip | |
linux-user: Use guest_range_valid in access_ok
We're currently open-coding the range check in access_ok;
use guest_range_valid when size != 0.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210212184902.1251044-15-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
