userfaultfd: uapi: fix UFFDIO_CONTINUE ioctl request definition
This ioctl request reads from uffdio_continue structure written by
userspace which justifies _IOC_WRITE flag. It also writes back to that
structure which justifies _IOC_READ flag.
See NOTEs in include/uapi/asm-generic/ioctl.h for more information.
Fixes: f619147104c8 ("userfaultfd: add UFFDIO_CONTINUE ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy <firstname.lastname@example.org>
Acked-by: Peter Xu <email@example.com>
Reviewed-by: Axel Rasmussen <firstname.lastname@example.org>
Reviewed-by: Dmitry V. Levin <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
1 file changed