]> git.ipfire.org Git - thirdparty/man-pages.git/commit
ioctl_userfaultfd.2: Corrections for returned .ioctls members
authorIan Abbott <abbotti@mev.co.uk>
Fri, 18 Mar 2022 19:13:43 +0000 (19:13 +0000)
committerAlejandro Colomar <alx.manpages@gmail.com>
Tue, 22 Mar 2022 12:30:58 +0000 (13:30 +0100)
commit6edec894fd86e0df0c03ee9e9e48fa95723b87ef
tree7989ce847192886556f0237bfa5f90c4e4b346e2
parent641a125e2ca63570b934697209144ea79e6ee8d5
ioctl_userfaultfd.2: Corrections for returned .ioctls members

Support for the `UFFDIO_WRITEPROTECT` operation is not indicated in the
`ioctls` member of `struct uffdio_api`.  It is indicated in the `ioctls`
member of `struct uffdio_register` along with indications of support for
the `UFFDIO_COPY`, `UFFDIO_WAKE` and `UFFDIO_ZEROPAGE` operations (and
also the `UFFDIO_CONTINUE` operation supported since Linux 5.13 but
that is not documented by this man page yet.)

Fixes: f559fa36a678 ("ioctl_userfaultfd.2: Add write-protect mode docs")
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/ioctl_userfaultfd.2