mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +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:
@@ -45,7 +45,6 @@
|
||||
present in 32-bit kernels from 4.4 and 4.5 respectively. */
|
||||
#if __LINUX_KERNEL_VERSION < 0x040700
|
||||
# undef __ASSUME_MLOCK2
|
||||
# undef __ASSUME_COPY_FILE_RANGE
|
||||
#endif
|
||||
|
||||
#undef __ASSUME_CLONE_DEFAULT
|
||||
|
||||
Reference in New Issue
Block a user