* [alternative-merged] userfaultfd-fix-uffdio_continue-ioctl-request-definition.patch removed from -mm tree
@ 2021-06-26 1:01 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-06-26 1:01 UTC (permalink / raw)
To: axelrasmussen, dancol, glebfm, ldv, lokeshgidra, mm-commits, peterx
The patch titled
Subject: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition
has been removed from the -mm tree. Its filename was
userfaultfd-fix-uffdio_continue-ioctl-request-definition.patch
This patch was dropped because an alternative patch was merged
------------------------------------------------------
From: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Subject: userfaultfd: fix UFFDIO_CONTINUE ioctl request definition
This ioctl request reads from uffdio_continue structure which justifies
_IOC_READ flag. See NOTEs in include/uapi/asm-generic/ioctl.h for more
information.
Link: https://lkml.kernel.org/r/20210601143432.1002481-1-glebfm@altlinux.org
Link: https://lkml.kernel.org/r/20210531140146.481553-1-glebfm@altlinux.org
Fixes: f619147104c8 ("userfaultfd: add UFFDIO_CONTINUE ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Axel Rasmussen <axelrasmussen@google.com>
Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
Cc: Daniel Colascione <dancol@google.com>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/uapi/linux/userfaultfd.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/include/uapi/linux/userfaultfd.h~userfaultfd-fix-uffdio_continue-ioctl-request-definition
+++ a/include/uapi/linux/userfaultfd.h
@@ -81,8 +81,8 @@
struct uffdio_zeropage)
#define UFFDIO_WRITEPROTECT _IOWR(UFFDIO, _UFFDIO_WRITEPROTECT, \
struct uffdio_writeprotect)
-#define UFFDIO_CONTINUE _IOR(UFFDIO, _UFFDIO_CONTINUE, \
- struct uffdio_continue)
+#define UFFDIO_CONTINUE _IOWR(UFFDIO, _UFFDIO_CONTINUE, \
+ struct uffdio_continue)
/* read() structure */
struct uffd_msg {
_
Patches currently in -mm which might be from glebfm@altlinux.org are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-26 1:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-26 1:01 [alternative-merged] userfaultfd-fix-uffdio_continue-ioctl-request-definition.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).