Re: [patch] ioctl_userfaultfd.2: wfix

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

 



Hello Yu Jian Wu

On 1/30/20 5:02 PM, Yu Jian Wu wrote:
> Hi,
> 
> Patch as attached. I think the comment on the variables in the struct is
> reversed.
> 
> Thanks!


Thanks. Patch applied.

Cheers,

Michael

> diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2
> index cd3e089b7..d417e30f3 100644
> --- a/man2/ioctl_userfaultfd.2
> +++ b/man2/ioctl_userfaultfd.2
> @@ -421,8 +421,8 @@ structure pointed to by
>  .in +4n
>  .EX
>  struct uffdio_copy {
> -    __u64 dst;    /* Source of copy */
> -    __u64 src;    /* Destination of copy */
> +    __u64 dst;    /* Destination of copy */
> +    __u64 src;    /* Source of copy */
>      __u64 len;    /* Number of bytes to copy */
>      __u64 mode;   /* Flags controlling behavior of copy */
>      __s64 copy;   /* Number of bytes copied, or negated error */
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[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