userfaultfd.2: Add an introductory section on the ioctl(2) operations

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-29 20:00:47 +01:00
parent 46c15a0426
commit d53cfcc817
1 changed files with 16 additions and 0 deletions

View File

@ -112,6 +112,22 @@ operations to resolve the page fault.
Currently, userfaultfd can be used only with anonymous private memory
mappings.
.\"
.SS ioctl(2) operations
Various
.BR ioctl (2)
operations can be performed on a userfaultfd object using calls of the form:
ioctl(fd, cmd, argp);
In the above,
.I fd
is a file descriptor referring to a userfaultfd object,
.I cmd
is one of the commands listed below, and
.I argp
is a pointer to a data structure that is specific to
.IR cmd .
.\"
.SS Configuration ioctl(2) operations
The
.BR ioctl (2)