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.26.9000-1216-gb7ccb5d


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  b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634 (commit)
      from  e3aa6999d7f59324dfca6131268825bc73ee0375 (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=b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634

commit b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634
Author: Romain Naour <romain.naour@gmail.com>
Date:   Mon Jan 29 16:12:08 2018 +0000

    microblaze: don't use copy_file_range syscall with kernel headers < 4.10
    
    copy_file_range syscall was added for microblaze in 4.10.
    
    This patch makes the MicroBlaze kernel-features.h undefine
    __ASSUME_COPY_FILE_RANGE for toolchains built with kernel headers < 4.10.
    
    	* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
    	(__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
    
    [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=7181e5590e5ba898804aef3ee6be7f27606e6f8b
    
    Signed-off-by: Romain Naour <romain.naour@gmail.com>

diff --git a/ChangeLog b/ChangeLog
index 5a930a9..f156d85 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-29  Romain Naour  <romain.naour@gmail.com>  (tiny change)
+
+	* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
+	(__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
+
 2018-01-29  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/build-many-glibcs.py (Context.git_checkout): Use git
diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
index e0e6483..745f899 100644
--- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h
@@ -52,3 +52,8 @@
 #if __LINUX_KERNEL_VERSION < 0x040000
 # undef __ASSUME_EXECVEAT
 #endif
+
+/* Support for the copy_file_range syscall was added in 4.10.  */
+#if __LINUX_KERNEL_VERSION < 0x040A00
+# undef __ASSUME_COPY_FILE_RANGE
+#endif

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

Summary of changes:
 ChangeLog                                          |    5 +++++
 .../unix/sysv/linux/microblaze/kernel-features.h   |    5 +++++
 2 files changed, 10 insertions(+), 0 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]