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

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

From: Mike Rapoport <hidden>
Date: 2017-08-14 14:51:18
Subsystem: the rest · Maintainer: Linus Torvalds

Possibly related (same subject, not in this thread)

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.

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help