From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46855 invoked by alias); 8 Jul 2019 21:41:32 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 46108 invoked by uid 97); 8 Jul 2019 21:41:32 -0000 Date: Mon, 08 Jul 2019 21:41:00 -0000 Message-ID: <20190708214132.46085.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: DJ Delorie To: glibc-cvs@sourceware.org Subject: [glibc] NEWS: clarify copy_file_range X-Act-Checkin: glibc X-Git-Author: DJ Delorie X-Git-Refname: refs/heads/master X-Git-Oldrev: 6ea21bfe439159f9e480c580927902c6461ec68c X-Git-Newrev: 744481038703ddc0ce571bdcbedc4f4a722da039 X-SW-Source: 2019-q3/txt/msg00043.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=744481038703ddc0ce571bdcbedc4f4a722da039 commit 744481038703ddc0ce571bdcbedc4f4a722da039 Author: DJ Delorie Date: Mon Jul 8 17:10:52 2019 -0400 NEWS: clarify copy_file_range Minor tweak to clarify what applications must do. Diff: --- NEWS | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 6c7de10..11099f7 100644 --- a/NEWS +++ b/NEWS @@ -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