From: Peter Xu Date: Mon, 5 Apr 2021 13:13:07 +0000 (+0200) Subject: ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs X-Git-Tag: man-pages-5.12~250 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbda69bbdd97b290fb91f21e7718f3f925d5788e;p=thirdparty%2Fman-pages.git ioctl_userfaultfd.2: Add UFFD_FEATURE_THREAD_ID docs UFFD_FEATURE_THREAD_ID is supported in Linux 4.14. Acked-by: Mike Rapoport Signed-off-by: Peter Xu Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 9120bdf40e..014c0b5c10 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -208,6 +208,11 @@ signal will be sent to the faulting process. Applications using this feature will not require the use of a userfaultfd monitor for processing memory accesses to the regions registered with userfaultfd. +.TP +.BR UFFD_FEATURE_THREAD_ID " (since Linux 4.14)" +If this feature bit is set, +.I uffd_msg.pagefault.feat.ptid +will be set to the faulted thread ID for each page fault message. .PP The returned .I ioctls