Re: [PATCH v6 08/21] accel/tcg: Properly implement get_page_addr_code for user-only

2022-08-21 Thread Alistair Francis
On Fri, Aug 19, 2022 at 1:40 PM Richard Henderson wrote: > > 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. > > Signed-off-by: Rich

[PATCH v6 08/21] accel/tcg: Properly implement get_page_addr_code for user-only

2022-08-18 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- include/exec/exec-all.h | 85 ++-