This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.28.9000-314-g1283c47


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  1283c478aa0a9b3d84320db5745a61b7f61b360c (commit)
      from  c089fd80c793b1a987e1a6e9a08248b0861ec7ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1283c478aa0a9b3d84320db5745a61b7f61b360c

commit 1283c478aa0a9b3d84320db5745a61b7f61b360c
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Nov 23 17:53:50 2018 +0000

    Fix Arm __ASSUME_COPY_FILE_RANGE (bug 23915).
    
    The generic kernel-features.h defines __ASSUME_COPY_FILE_RANGE for 4.5
    and later kernels.  However, for 32-bit Arm binaries running on 64-bit
    Arm kernels, the syscall was only wired up in the 4.7 kernel, although
    the 32-bit Arm kernel had the syscall from 4.5 onwards.  This patch
    corrects the Arm kernel-features.h to undefine the macro for
    configured minimum kernel versions before 4.7.
    
    Tested (compilation only) with a build-many-glibcs.py build for
    arm-linux-gnueabi.
    
    	[BZ #23915]
    	* sysdeps/unix/sysv/linux/arm/kernel-features.h
    	[__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
    	Undefine.

diff --git a/ChangeLog b/ChangeLog
index ce7a55f..f8f7672 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-11-23  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #23915]
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h
+	[__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
+	Undefine.
+
 2018-11-23  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
diff --git a/sysdeps/unix/sysv/linux/arm/kernel-features.h b/sysdeps/unix/sysv/linux/arm/kernel-features.h
index c6e7452..e4ca98b 100644
--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
@@ -40,11 +40,12 @@
 #define __ASSUME_RECV_SYSCALL   1
 #define __ASSUME_SEND_SYSCALL	1
 
-/* Support for the mlock2 syscall was added to the compat syscall
-   table for 64-bit kernels in 4.7, although present in 32-bit kernels
-   from 4.4.  */
+/* Support for the mlock2 and copy_file_range syscalls was added to
+   the compat syscall table for 64-bit kernels in 4.7, although
+   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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |    7 +++++++
 sysdeps/unix/sysv/linux/arm/kernel-features.h |    7 ++++---
 2 files changed, 11 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]