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-265-ge143ceb


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  e143ceba564a94922f6e46bb3a22d7a53a909a03 (commit)
      from  4a938cb273e164a475dc123cc80ea6354d7248d4 (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=e143ceba564a94922f6e46bb3a22d7a53a909a03

commit e143ceba564a94922f6e46bb3a22d7a53a909a03
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Nov 6 17:22:50 2018 +0000

    Correct SH kernel-features.h undefines (bug 23862).
    
    The SH kernel-features.h undefines __ASSUME_RENAMEAT2 for kernel
    versions before 4.8, but fails to undefine __ASSUME_EXECVEAT,
    __ASSUME_MLOCK2 and __ASSUME_COPY_FILE_RANGE, although all those
    syscalls (and several others) were added for SH in the same Linux
    kernel commit (first released in 4.8).  This patch adds the proper
    undefines of those macros.
    
    Tested with build-many-glibcs.py for its SH configurations.
    
    	[BZ #23862]
    	* sysdeps/unix/sysv/linux/sh/kernel-features.h
    	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
    	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
    	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
    	Likewise.

diff --git a/ChangeLog b/ChangeLog
index 9b8f6f2..4ff4c13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2018-11-06  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #23862]
+	* sysdeps/unix/sysv/linux/sh/kernel-features.h
+	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
+	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
+	[__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
+	Likewise.
+
 2018-11-06  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #17405]
diff --git a/sysdeps/unix/sysv/linux/sh/kernel-features.h b/sysdeps/unix/sysv/linux/sh/kernel-features.h
index b8ccb01..60b6a81 100644
--- a/sysdeps/unix/sysv/linux/sh/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/sh/kernel-features.h
@@ -51,9 +51,12 @@
 /* sh only supports ipc syscall.  */
 #undef __ASSUME_DIRECT_SYSVIPC_SYSCALLS
 
-/* Support for the renameat2 syscall was added in 4.8.  */
+/* Support for several syscalls was added in 4.8.  */
 #if __LINUX_KERNEL_VERSION < 0x040800
 # undef __ASSUME_RENAMEAT2
+# undef __ASSUME_EXECVEAT
+# undef __ASSUME_MLOCK2
+# undef __ASSUME_COPY_FILE_RANGE
 #endif
 
 /* sh does not support the statx system call.  */

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

Summary of changes:
 ChangeLog                                    |    9 +++++++++
 sysdeps/unix/sysv/linux/sh/kernel-features.h |    5 ++++-
 2 files changed, 13 insertions(+), 1 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]