diff options
| author | Richard Henderson | 2022-08-10 22:52:50 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-09-06 09:04:25 +0200 |
| commit | cdf7130851318004e6512dbfdb73156fe59c7a59 (patch) | |
| tree | 99b676707c22d63a79265d96871a706c753b89d6 /include/exec/user | |
| parent | accel/tcg: Introduce is_same_page() (diff) | |
| download | qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.gz qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.tar.xz qemu-cdf7130851318004e6512dbfdb73156fe59c7a59.zip | |
accel/tcg: Properly implement get_page_addr_code for user-only
The current implementation is a no-op, simply returning addr.
This is incorrect, because we ought to be checking the page
permissions for execution.
Make get_page_addr_code inline for both implementations.
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Tested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
