Re: [PATCH] copy_file_ranges can file with EFBIG

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

 



On 01/03/2018 02:02 PM, Florian Weimer wrote:
>>From f668acc7396854f2d4c264c92ea233f37b2bbbfb Mon Sep 17 00:00:00 2001
> From: Florian Weimer <fweimer@xxxxxxxxxx>
> Date: Wed, 3 Jan 2018 14:00:35 +0100
> Subject: [PATCH] copy_file_range.2: EFBIG errors are possible, similar to
>  write(2)
> 
> Signed-off-by: Florian Weimer <fweimer@xxxxxxxxxx>

Thanks, Florian. Patch applied.

Cheers,

Michael

> ---
>  man2/copy_file_range.2 | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/man2/copy_file_range.2 b/man2/copy_file_range.2
> index 6e50ea6ec..31c31cd81 100644
> --- a/man2/copy_file_range.2
> +++ b/man2/copy_file_range.2
> @@ -108,6 +108,11 @@ Requested range extends beyond the end of the source file; or the
>  .I flags
>  argument is not 0.
>  .TP
> +.B EFBIG
> +An attempt was made to write a file that exceeds the implementation-defined
> +maximum file size or the process's file size limit,
> +or to write at a position past the maximum allowed offset.
> +.TP
>  .B EIO
>  A low-level I/O error occurred while copying.
>  .TP


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