Re: [PATCH v2 04/17] linux-user: Tidy VERIFY_READ/VERIFY_WRITE

2020-06-25 Thread Peter Maydell
On Fri, 5 Jun 2020 at 05:17, Richard Henderson wrote: > > These constants are only ever used with access_ok, and friends. > Rather than translating them to PAGE_* bits, let them equal > the PAGE_* bits to begin. > > Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Side note: at some

[PATCH v2 04/17] linux-user: Tidy VERIFY_READ/VERIFY_WRITE

2020-06-04 Thread Richard Henderson
These constants are only ever used with access_ok, and friends. Rather than translating them to PAGE_* bits, let them equal the PAGE_* bits to begin. Signed-off-by: Richard Henderson --- linux-user/qemu.h | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/linux-user/qemu