]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
alpha: mlock2, copy_file_range syscalls were introduced in kernel 4.13
authorFlorian Weimer <fweimer@redhat.com>
Tue, 24 Jul 2018 19:03:04 +0000 (21:03 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 24 Jul 2018 20:38:39 +0000 (22:38 +0200)
ChangeLog
sysdeps/unix/sysv/linux/alpha/kernel-features.h

index 28d21257d77424ecc449a477aae2e343fafc302f..1545e05fb8a1778ec838416fe6de3d4e00fa7e55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2018-07-24  Florian Weimer  <fweimer@redhat.com>
+
+       * sysdeps/unix/sysv/linux/alpha/kernel-features.h
+       [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
+       (__ASSUME_COPY_FILE_RANGE): Undefine.  Kernel support was added in
+       4.13.
+
 2018-07-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
index f63be39d1bb6de4886a0403e08c98ebfba766d9d..402d2573d75794d56829115d4ea05e2d294e1fd1 100644 (file)
 # undef __ASSUME_EXECVEAT
 #endif
 
-/* Support for statx was added in kernel 4.13.  */
+/* Support for copy_file_range, statx was added in kernel 4.13.  */
 #if __LINUX_KERNEL_VERSION < 0x040D00
+# undef __ASSUME_MLOCK2
+# undef __ASSUME_COPY_FILE_RANGE
 # undef __ASSUME_STATX
 #endif