1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-04-26 15:09:05 +03:00
Joseph Myers 596cc360aa Fix __ASSUME_MLOCK2 for ARM, MicroBlaze (bug 23867).
The generic kernel-features.h defines __ASSUME_MLOCK2 for 4.4 and
later kernels.  However, for 32-bit ARM binaries running on 64-bit ARM
kernels, and for MicroBlaze, the syscall was only wired up in the 4.7
kernel.  (32-bit ARM kernels did have the syscall from 4.4 onwards.)
This patch duly arranges for the macro to be undefined for those
architectures for kernels before 4.7.

Tested with build-many-glibcs.py for its ARM and MicroBlaze
configurations.

	[BZ #23867]
	* sysdeps/unix/sysv/linux/arm/kernel-features.h
	[__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
	* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
	[__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2018-11-07 16:27:35 +00:00
..
2018-03-27 21:28:58 -03:00
2018-01-06 23:35:56 -08:00
2018-10-02 12:29:02 -03:00
2018-07-10 16:14:45 +02:00
2018-04-27 19:11:24 +00:00
2018-04-27 19:11:24 +00:00
2018-07-05 19:00:10 +02:00
2018-07-05 19:00:10 +02:00
2018-07-10 16:14:45 +02:00
2018-05-18 16:50:44 +00:00
2018-10-31 10:32:40 -07:00
2018-05-02 08:43:31 -03:00