On 08/14/2017 04:51 PM, Mike Rapoport wrote: > Since Linux 4.13 we return ESRCH instead of ENOSPC when the faulting > process exits during UFFDIO_{COPY/ZEROPAGE} operation. Thanks, Mike. Applied. Cheers, Michael > Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx> > --- > man2/ioctl_userfaultfd.2 | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 > index 14260fc..f83ef65 100644 > --- a/man2/ioctl_userfaultfd.2 > +++ b/man2/ioctl_userfaultfd.2 > @@ -489,7 +489,12 @@ its virtual memory layout simultaneously with an outstanding > .I UFFDIO_COPY > operation. > .TP > -.BR ENOSPC " (since Linux 4.11)" > +.BR ENOSPC " (since Linux 4.11 till Linux 4.13)" > +The faulting process has exited at the time of a > +.I UFFDIO_COPY > +operation. > +.TP > +.BR ESRCH " (since Linux 4.13)" > The faulting process has exited at the time of a > .I UFFDIO_COPY > operation. > @@ -575,6 +580,11 @@ was zero; or the range specified was invalid. > An invalid bit was specified in the > .IR mode > field. > +.TP > +.BR ESRCH " (since Linux 4.13)" > +The faulting process has exited at the time of a > +.I UFFDIO_ZEROPAGE > +operation. > .\" > .SS UFFDIO_WAKE > (Since Linux 4.3.) > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html