mirror of https://github.com/mkerrisk/man-pages
userfaultfd.2: Note that UFFDIO_API must be the first ioctl(2)
And note that ioctl() fails with EINVAL if another ioctl(2) is attempted before UFFDIO_API. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a34fda4104
commit
5074d8466a
|
@ -83,6 +83,12 @@ the application must enable it using the
|
|||
operation.
|
||||
This operation allows a handshake between the kernel and user space
|
||||
to determine the API version and supported features.
|
||||
This operation must be performed before any of the other
|
||||
.BR ioctl (2)
|
||||
operations described below (or those operations fail with the
|
||||
.BR EINVAL
|
||||
error).
|
||||
|
||||
After a successful
|
||||
.B UFFDIO_API
|
||||
operation,
|
||||
|
|
Loading…
Reference in New Issue