ioctl_userfaultfd.2: Minor fix-ups to Mike Rapoport's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-26 09:15:25 +02:00
parent 30dced3378
commit 1a053be3c7
1 changed files with 3 additions and 3 deletions

View File

@ -108,15 +108,15 @@ operations available.
For Linux kernel versions before 4.11, the
.I features
field must be initialized to zero before the call to
.I UFFDIO_API
, and zero (i.e., no feature bits) is placed in the
.IR UFFDIO_API ,
and zero (i.e., no feature bits) is placed in the
.I features
field by the kernel upon return from
.BR ioctl (2).
Starting from Linux 4.11, the
.I features
field can be used to to ask whether particular features are supported
field can be used to ask whether particular features are supported
and explicitly enable userfaultfd features that are disabled by default.
The kernel always reports all the available features in the
.I features