]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_userfaultfd.2: Minor tweaks to Mike Rapoport's patches
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 1 May 2017 11:24:10 +0000 (13:24 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 1 May 2017 11:24:10 +0000 (13:24 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/ioctl_userfaultfd.2

index 50316de871fe4cfe082bb8faed7540fd9251f45e..0080d8b3d4ad120033ddec28080bd3b8c6122ad2 100644 (file)
@@ -184,14 +184,15 @@ If this feature bit is set,
 the kernel supports registering userfaultfd ranges on shared memory areas.
 This includes all kernel shared memory APIs:
 System V shared memory,
-tmpfs,
-/dev/zero,
-.BR mmap(2)
-with
+.BR tmpfs (5),
+shared mappings of
+.IR /dev/zero ,
+.BR mmap (2)
+with the
 .I MAP_SHARED
 flag set,
 .BR memfd_create (2),
-etc.
+and so on.
 
 The returned
 .I ioctls
@@ -482,16 +483,14 @@ An invalid bit was specified in the
 .IR mode
 field.
 .TP
-.B ENOENT
-(Since Linux 4.11)
+.BR ENOENT " (since Linux 4.11)"
 The faulting process has changed
-its virtual memory layout simultaneously with outstanding
+its virtual memory layout simultaneously with an outstanding
 .I UFFDIO_COPY
 operation.
 .TP
-.B ENOSPC
-(Since Linux 4.11)
-The faulting process has exited at the time of
+.BR ENOSPC " (since Linux 4.11)"
+The faulting process has exited at the time of a
 .I UFFDIO_COPY
 operation.
 .\"
@@ -652,13 +651,13 @@ See
 .BR userfaultfd (2).
 .SH BUGS
 In order to detect available userfault features and
-enable certain subset of those features
-the usefault file descriptor must be closed after the first
+enable some subset of those features
+the userfaultfd file descriptor must be closed after the first
 .BR UFFDIO_API
-operation that queries features availability and re-opened before
+operation that queries features availability and reopened before
 the second
 .BR UFFDIO_API
-call that actually enables the desired features.
+operation that actually enables the desired features.
 .SH SEE ALSO
 .BR ioctl (2),
 .BR mmap (2),