ioctl_userfaultfd.2: Add kernel versions where each ioctl() first appeared

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-01-04 21:08:31 +13:00
parent 52b794f147
commit 1b945386ca
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,7 @@ events in a consistent way.
.\" FIXME What does "consistent" mean? .\" FIXME What does "consistent" mean?
.\" .\"
.SS UFFDIO_API .SS UFFDIO_API
(Since Linux 4.3.)
Enable operation of the userfaultfd and perform API handshake. Enable operation of the userfaultfd and perform API handshake.
The The
.I argp .I argp
@ -159,6 +160,7 @@ field was not zero.
.\" zeroed out. Why is this done? .\" zeroed out. Why is this done?
.\" .\"
.SS UFFDIO_REGISTER .SS UFFDIO_REGISTER
(Since Linux 4.3.)
Register a memory address range with the userfaultfd object. Register a memory address range with the userfaultfd object.
The The
.I argp .I argp
@ -202,6 +204,9 @@ Track page faults on missing pages.
.B UFFDIO_REGISTER_MODE_WP .B UFFDIO_REGISTER_MODE_WP
Track page faults on write-protected pages. Track page faults on write-protected pages.
.PP .PP
.\" FIXME Actually, the following sentence appears not to be true;
.\" UFFDIO_REGISTER_MODE_WP seems also to be supported.
.\" Can someone confirm?
Currently, the only supported mode is Currently, the only supported mode is
.BR UFFDIO_REGISTER_MODE_MISSING . .BR UFFDIO_REGISTER_MODE_MISSING .
.PP .PP
@ -213,6 +218,7 @@ range in the
field. field.
.\" .\"
.SS UFFDIO_UNREGISTER .SS UFFDIO_UNREGISTER
(Since Linux 4.3.)
Unregister a memory address range from userfaultfd. Unregister a memory address range from userfaultfd.
The address range to unregister is specified in the The address range to unregister is specified in the
.IR uffdio_range .IR uffdio_range
@ -243,6 +249,7 @@ There as an incompatible mapping in the specified address range.
There was no mapping in the specified address range. There was no mapping in the specified address range.
.\" .\"
.SS UFFDIO_COPY .SS UFFDIO_COPY
(Since Linux 4.3.)
Atomically copy a continuous memory chunk into the userfault registered Atomically copy a continuous memory chunk into the userfault registered
range and optionally wake up the blocked thread. range and optionally wake up the blocked thread.
The source and destination addresses and the number of bytes to copy are The source and destination addresses and the number of bytes to copy are
@ -305,6 +312,7 @@ it is not read by the
operation. operation.
.\" .\"
.SS UFFDIO_ZERO .SS UFFDIO_ZERO
(Since Linux 4.3.)
Zero out a part of memory range registered with userfaultfd. Zero out a part of memory range registered with userfaultfd.
The requested range is specified by the The requested range is specified by the
.I range .I range
@ -342,6 +350,7 @@ or an error in the same manner as
.IR uffdio_copy.copy . .IR uffdio_copy.copy .
.\" .\"
.SS UFFDIO_WAKE .SS UFFDIO_WAKE
(Since Linux 4.3.)
Wake up the thread waiting for page-fault resolution. Wake up the thread waiting for page-fault resolution.
The The
.I argp .I argp