ioctl_userfaultfd.2: Add EFAULT errors

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-03-26 21:42:46 +02:00
parent b4e9ab9131
commit cd8389ff87
1 changed files with 10 additions and 2 deletions

View File

@ -140,8 +140,11 @@ On error, \-1 is returned and
.I errno
is set to indicate the cause of the error.
Possible errors include:
.\" FIXME Is the following error list correct?
.\"
.TP
.B EFAULT
.I argp
refers to an address that is outside the calling process's
accessible address space.
.TP
.B EINVAL
The userfaultfd has already been enabled by a previous
@ -227,6 +230,11 @@ Possible errors include:
A mapping in the specified range is registered with another
userfaultfd object.
.TP
.B EFAULT
.I argp
refers to an address that is outside the calling process's
accessible address space.
.TP
.B EINVAL
An invalid or unsupported bit was specified in the
.I mode