]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
userfaultfd.2: Tweaks to Yang Xu's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 21 Jan 2020 20:49:06 +0000 (21:49 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 21 Jan 2020 21:01:35 +0000 (22:01 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/userfaultfd.2

index 2b432f04369a0d2f1bf479607385278485ddf087..32fe7236d1ffc6215aaa196285321234f532979d 100644 (file)
@@ -441,10 +441,13 @@ reached.
 .B ENOMEM
 Insufficient kernel memory was available.
 .TP
-.B EPERM
-Unprivileged user(without SYS_CAP_PTRACE capability) uses this call when
-set unprivileged_userfaultfd to 0. It was introduced since Linux 5.2.
+.BR EPERM " (since Linux 5.2)"
 .\" cefdca0a86be517bc390fc4541e3674b8e7803b0
+The caller is not privileged (does not have the
+.B CAP_SYS_PTRACE
+capability), and
+.I /proc/sys/vm/unprivileged_userfaultfd
+has the value 0.
 .SH VERSIONS
 The
 .BR userfaultfd ()