From: Florian Weimer Date: Tue, 24 Jul 2018 19:03:04 +0000 (+0200) Subject: alpha: mlock2, copy_file_range syscalls were introduced in kernel 4.13 X-Git-Tag: glibc-2.28~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0f9c462d863d006424097879e30443f09771549;p=thirdparty%2Fglibc.git alpha: mlock2, copy_file_range syscalls were introduced in kernel 4.13 --- diff --git a/ChangeLog b/ChangeLog index 28d21257d77..1545e05fb8a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-07-24 Florian Weimer + + * 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 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file. diff --git a/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/sysdeps/unix/sysv/linux/alpha/kernel-features.h index f63be39d1bb..402d2573d75 100644 --- a/sysdeps/unix/sysv/linux/alpha/kernel-features.h +++ b/sysdeps/unix/sysv/linux/alpha/kernel-features.h @@ -45,8 +45,10 @@ # 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