diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-05-09 06:54:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-05-09 06:54:31 +0000 |
commit | 4300afc1697ae703e0c5899ad66f55f3b12a8b6a (patch) | |
tree | 855fc117bfd4c42b99ed6dbb3ee53a27c8d1e2ce /sysdeps | |
parent | 2221e33e5de0a17eef521b923229b2ede48abaad (diff) | |
download | glibc-4300afc1697ae703e0c5899ad66f55f3b12a8b6a.zip glibc-4300afc1697ae703e0c5899ad66f55f3b12a8b6a.tar.gz glibc-4300afc1697ae703e0c5899ad66f55f3b12a8b6a.tar.bz2 |
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 97725e7..473360a 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 |