mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.
This commit is contained in:
parent
2221e33e5d
commit
4300afc169
@ -1,5 +1,7 @@
|
||||
2009-05-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM.
|
||||
|
||||
* sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when
|
||||
count is zero.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user