mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
io: Remove copy_file_range emulation [BZ #24744]
The kernel is evolving this interface (e.g., removal of the restriction on cross-device copies), and keeping up with that is difficult. Applications which need the function should run kernels which support the system call instead of relying on the imperfect glibc emulation. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -100,10 +100,6 @@
|
||||
# define __ASSUME_MLOCK2 1
|
||||
#endif
|
||||
|
||||
#if __LINUX_KERNEL_VERSION >= 0x040500
|
||||
# define __ASSUME_COPY_FILE_RANGE 1
|
||||
#endif
|
||||
|
||||
/* Support for statx was added in kernel 4.11. */
|
||||
#if __LINUX_KERNEL_VERSION >= 0x040B00
|
||||
# define __ASSUME_STATX 1
|
||||
|
Reference in New Issue
Block a user