Re: [PATCH v2 05/17] bsd-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 > --- > bsd-user/qemu.h | 9 - > 1

[PATCH v2 05/17] bsd-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 --- bsd-user/qemu.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bsd-user/qemu.h