Re: [PATCH] userfaultfd.2: document spurious UFFD_EVENT_FORK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/08/2017 07:54 AM, Mike Rapoport wrote:
> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>

Thanks, Mike. Applied.

Cheers,

Michael


> ---
>  man2/userfaultfd.2 | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2
> index 1c9e64b..08c41e1 100644
> --- a/man2/userfaultfd.2
> +++ b/man2/userfaultfd.2
> @@ -465,6 +465,16 @@ for checkpoint/restore mechanisms,
>  as well as post-copy migration to allow (nearly) uninterrupted execution
>  when transferring virtual machines and Linux containers
>  from one host to another.
> +.SH BUGS
> +If the
> +.B UFFD_FEATURE_EVENT_FORK
> +is enabled and a system call from the
> +.BR fork (2)
> +family is interrupted by a signal or failed,q a stale userfaultfd descriptor
> +might be created.
> +In this case a spurious
> +.B UFFD_EVENT_FORK
> +will be delivered to the userfaultfd monitor.
>  .SH EXAMPLE
>  The program below demonstrates the use of the userfaultfd mechanism.
>  The program creates two threads, one of which acts as the
> 


-- 
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



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux