From cd8389ff87dd241508fd1b3999823b6433960c89 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 26 Mar 2017 21:42:46 +0200 Subject: [PATCH] ioctl_userfaultfd.2: Add EFAULT errors Signed-off-by: Michael Kerrisk --- man2/ioctl_userfaultfd.2 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 6d1d85dc8..32f296383 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -140,8 +140,11 @@ On error, \-1 is returned and .I errno is set to indicate the cause of the error. Possible errors include: -.\" FIXME Is the following error list correct? -.\" +.TP +.B EFAULT +.I argp +refers to an address that is outside the calling process's +accessible address space. .TP .B EINVAL The userfaultfd has already been enabled by a previous @@ -227,6 +230,11 @@ Possible errors include: A mapping in the specified range is registered with another userfaultfd object. .TP +.B EFAULT +.I argp +refers to an address that is outside the calling process's +accessible address space. +.TP .B EINVAL An invalid or unsupported bit was specified in the .I mode