From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 4DC711F461 for ; Tue, 2 Jul 2019 19:18:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:from:to:subject; q=dns; s= default; b=DHQVvPVYjv6gs2Ll1XAfzit4Q7XmFV9PH7dVFRKWocVW/FYujQ+0b Bzbjtny60li7nbbjDEMUXxz/m9bX/dQwfPHXEhV4cQdkTwOdv5Mnp9xrWIaet2Zt KMc8o8ISHOKShd9wcnxH9s7YGoGluKsrgpvN1uZ6b2NeH0a79wQ0js= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:message-id:from:to:subject; s=default; bh=N6vM2M5HxHS5VIASiyMIYMn+G1M=; b=LLecJ2usNOyCA5fRrZRe0riR3eGN 93b4k4CAO98tR105HxhDfc4Giask1zQ0QQkHRFq+x126I8HB1LZYIgdAo7OYDs2Q gIXkh3io7hjrUy0dk9tm4q/gAvhYkTxTIDDzMP1+xBADa/YDFkNOiOdvaPsLgV+1 hiXpwbq1tMlO/Js= Received: (qmail 130561 invoked by alias); 2 Jul 2019 19:18:03 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 130095 invoked by uid 89); 2 Jul 2019 19:18:03 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com Date: Tue, 02 Jul 2019 15:17:59 -0400 Message-Id: From: DJ Delorie To: libc-alpha@sourceware.org Subject: [patch] NEWS: clarify copy_file_range Florian asked me for feedback wrt this discussion: https://lists.gnu.org/archive/html/bug-gnulib/2019-06/msg00109.html I propose a slight re-wording of NEWS to clarify what applications must do wrt the copy_file_range change: diff --git a/NEWS b/NEWS index 6c7de105ac..11099f7248 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