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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <rppt@xxxxxxxxxxxxxxxxxx>
---
 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
-
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux