Thread (1 message) 1 message, 1 author, 2017-08-16

Re: [PATCH 1/2] ioctl_userfaultfd.2: update uffdio_api.features description

From: Michael Kerrisk (man-pages) <hidden>
Date: 2017-08-16 07:20:07

Possibly related (same subject, not in this thread)

On 08/14/2017 04:51 PM, Mike Rapoport wrote:
There is no requirement that uffdio_api.features must be zero for newer
kernels. This field actually defines what features user space would like to
enable.
Thanks, Mike. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Mike Rapoport <redacted>
---
 man2/ioctl_userfaultfd.2 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2
index f97b3ef..14260fc 100644
--- a/man2/ioctl_userfaultfd.2
+++ b/man2/ioctl_userfaultfd.2
@@ -86,7 +86,7 @@ structure, defined as:
 
 struct uffdio_api {
     __u64 api;        /* Requested API version (input) */
-    __u64 features;   /* Currently must be zero (input) */
+    __u64 features;   /* Requested features (input/output) */
     __u64 ioctls;     /* Available ioctl() operations (output) */
 };
 
@@ -665,4 +665,3 @@ operation that actually enables the desired features.
 
 .IR Documentation/vm/userfaultfd.txt
 in the Linux kernel source tree
-

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help