mirror of https://github.com/mkerrisk/man-pages
userfaultfd.2: Describe errors for read() on userfaultfd
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
68a9e23c1f
commit
058b32ac70
|
@ -199,6 +199,16 @@ otherwise it is a read fault.
|
||||||
.\" UFFD_PAGEFAULT_FLAG_WP is not yet supported.
|
.\" UFFD_PAGEFAULT_FLAG_WP is not yet supported.
|
||||||
.RE
|
.RE
|
||||||
.PP
|
.PP
|
||||||
|
A
|
||||||
|
.BR read (2)
|
||||||
|
on a userfaultfd file descriptor can fail with the following errors:
|
||||||
|
.TP
|
||||||
|
.B EINVAL
|
||||||
|
The userfaultfd object has not yet been enabled using the
|
||||||
|
.BR UFFDIO_API
|
||||||
|
.BR ioctl (2)
|
||||||
|
operation
|
||||||
|
.PP
|
||||||
The userfaultfd file descriptor can be monitored with
|
The userfaultfd file descriptor can be monitored with
|
||||||
.BR poll (2),
|
.BR poll (2),
|
||||||
.BR select (2),
|
.BR select (2),
|
||||||
|
|
Loading…
Reference in New Issue