[PATCH] Linux: Add test case for bug 33245

Sam James sam@gentoo.org
Sat Aug 2 19:23:05 GMT 2025


Florian Weimer <fweimer@redhat.com> writes:

> The copy_file_range system call seems the only one that can return
> an off64_t value.  Use FUSE to exercise this, without actually
> creating such large files or copying any data.  Due to FUSE protocol
> limitations, only sizes up to UINT_MAX can be tested, but this is
> sufficient to check for the presence of bug 33245.

Reviewed-by: Sam James <sam@gentoo.org>

>
> ---
>  sysdeps/unix/sysv/linux/Makefile                   |   1 +
>  .../unix/sysv/linux/tst-copy_file_range-large.c    | 234 +++++++++++++++++++++
>  2 files changed, 235 insertions(+)
>


More information about the Libc-alpha mailing list