]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
userfaultfd.2: BUGS: document spurious UFFD_EVENT_FORK
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Wed, 8 Nov 2017 06:54:08 +0000 (08:54 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Thu, 9 Nov 2017 07:43:41 +0000 (08:43 +0100)
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/userfaultfd.2

index 1c9e64baf32e29f960446ffef411917240ad7e11..08c41e160c4545e54768c8bd313ae668ccc27722 100644 (file)
@@ -465,6 +465,16 @@ for checkpoint/restore mechanisms,
 as well as post-copy migration to allow (nearly) uninterrupted execution
 when transferring virtual machines and Linux containers
 from one host to another.
+.SH BUGS
+If the
+.B UFFD_FEATURE_EVENT_FORK
+is enabled and a system call from the
+.BR fork (2)
+family is interrupted by a signal or failed,q a stale userfaultfd descriptor
+might be created.
+In this case a spurious
+.B UFFD_EVENT_FORK
+will be delivered to the userfaultfd monitor.
 .SH EXAMPLE
 The program below demonstrates the use of the userfaultfd mechanism.
 The program creates two threads, one of which acts as the