From 4300afc1697ae703e0c5899ad66f55f3b12a8b6a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 9 May 2009 06:54:31 +0000 Subject: * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. --- sysdeps/unix/sysv/linux/kernel-features.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 97725e7291..473360a13c 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -530,6 +530,11 @@ # define __ASSUME_FUTEX_CLOCK_REALTIME 1 #endif +/* Support for the AT_RANDOM auxiliary vector entry was added in 2.6.29. */ +#if __LINUX_KERNEL_VERSION >= 0x02061d +# define __ASSUME_AT_RANDOM 1 +#endif + /* Support for preadv and pwritev was added in 2.6.30. */ #if __LINUX_KERNEL_VERSION >= 0x02061e # define __ASSUME_PREADV 1 -- cgit 1.4.1