Re: [PATCH] fcntl.2: mention that l_sysid is not used even if present

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

 



On 2/22/19 5:26 PM, Eugene Syromyatnikov wrote:
> Some architectures do provide l_sysid delcaration in struct flock;
> however, it is not used anyway.

Thanks, Eugene. Patch applied.

Cheers,

Michael

> 
> * man2/fcntl.2 (.SH NOTES): Note that l_sysid field is not used on Linux
> even if present on some architectures.
> 
> Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx>
> ---
>  man2/fcntl.2 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/man2/fcntl.2 b/man2/fcntl.2
> index 03533d6..accadee 100644
> --- a/man2/fcntl.2
> +++ b/man2/fcntl.2
> @@ -1921,7 +1921,9 @@ such as, for example,
>  Clearly,
>  .I l_pid
>  alone is not going to be very useful if the process holding the lock
> -may live on a different machine.
> +may live on a different machine;
> +on Linux, while present on some architectures (such as MIPS32),
> +this field is not used.
>  .PP
>  The original Linux
>  .BR fcntl ()
> 


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