ioctl_userfaultfd.2: Add some generic errors common to most/all of the ioctl() operations

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-30 14:16:59 +01:00
parent 637512edfa
commit 24fa87ffa1
1 changed files with 13 additions and 0 deletions

View File

@ -330,6 +330,19 @@ structure was not a multiple of the system page size.
See descriptions of the individual operations, above.
.SH ERRORS
See descriptions of the individual operations, above.
In addition, the following general errors can occur for all of the
operations described above:
.TP
.B EFAULT
.I argp
does not point to a valid memory address.
.TP
.B EINVAL
(For all operations except
.BR UFFDIO_API .)
The userfaultfd object has not yet been enabled (via the
.BR UFFDIO_API
operation).
.SH CONFORMING TO
These
.BR ioctl (2)