diff options
author | DJ Delorie <dj@redhat.com> | 2019-07-08 17:10:52 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2019-07-08 17:11:41 -0400 |
commit | 744481038703ddc0ce571bdcbedc4f4a722da039 (patch) | |
tree | 145e4e26ff51d4faf16ae2aa549a9f6a15bf748f | |
parent | 6ea21bfe439159f9e480c580927902c6461ec68c (diff) | |
download | glibc-744481038703ddc0ce571bdcbedc4f4a722da039.tar.gz |
NEWS: clarify copy_file_range
Minor tweak to clarify what applications must do.
-rw-r--r-- | NEWS | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -46,9 +46,11 @@ Deprecated and removed features, and other changes affecting compatibility: support the system call of the same name. Previously, user space emulation was performed, but its behavior did not match the kernel behavior, which was deemed too confusing. Applications which use the - copy_file_range function will have to be run on kernels which implement - the copy_file_range system call. Support for most architectures was added - in version 4.5 of the mainline Linux kernel. + copy_file_range function can no longer rely on glibc to provide a fallback + on kernels that do not support the copy_file_range system call, and if + this function returns ENOSYS, they will need to use their own fallback. + Support for copy_file_range for most architectures was added in version + 4.5 of the mainline Linux kernel. * The functions clock_gettime, clock_getres, clock_settime, clock_getcpuclockid, clock_nanosleep were removed from the librt library |