mirror of https://github.com/mkerrisk/man-pages
userfaultfd.2: Tweaks to Yang Xu's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
339b899c4c
commit
c4f13bc72a
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue