ioctl_userfaultfd.2: Add a few more EINVAL error cases/details

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-05 21:18:08 +13:00
parent 66e11c1f8f
commit 242c2b6b43
1 changed files with 18 additions and 5 deletions

View File

@ -240,6 +240,14 @@ field was zero.
There is no mapping in the specified address range.
.TP
.B EINVAL
.I range.start
or
.I range.len
is not a multiple of the system page size; or,
.I range.len
is zero; or these fields are otherwise invalid.
.TP
.B EINVAL
There as an incompatible mapping in the specified address range.
.\" FIXME What does "incompatible" mean?
.\"
@ -266,7 +274,9 @@ or the
.I len
field of the
.I ufdio_range
structure was not a multiple of the system page size.
structure was not a multiple of the system page size; or the
.I len
field was zero; or these fields were otherwise invalid.
.TP
.B EINVAL
There as an incompatible mapping in the specified address range.
@ -436,8 +446,9 @@ Either
.I range.start
or
.I range.len
was not a multiple of the system page size,
or the range specified was invalid.
was not a multiple of the system page size; or
.I range.len
was zero; or the range specified was invalid.
.TP
.B EINVAL
An invalid bit was specified in the
@ -464,13 +475,15 @@ is set to indicate the cause of the error.
Possible errors include:
.TP
.B EINVAL
Either the
The
.I start
or the
.I len
field of the
.I ufdio_range
structure was not a multiple of the system page size.
structure was not a multiple of the system page size; or
.I len
was zero; or the specified range was otherwise invalid.
.SH RETURN VALUE
See descriptions of the individual operations, above.
.SH ERRORS