diff options
author | Jakub Jelinek <jakub@redhat.com> | 2009-05-09 18:40:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2009-05-09 18:40:14 +0000 |
commit | 8075bb0fc6925bfb43f0db8e9c5bf22eb9e9f119 (patch) | |
tree | 08716fe3e8c25a9732600ec718325785e5352c33 /sysdeps/unix | |
parent | 83489168c2447e3fe351dbb302b1026dc9fc512c (diff) | |
download | glibc-8075bb0fc6925bfb43f0db8e9c5bf22eb9e9f119.zip glibc-8075bb0fc6925bfb43f0db8e9c5bf22eb9e9f119.tar.gz glibc-8075bb0fc6925bfb43f0db8e9c5bf22eb9e9f119.tar.bz2 |
Updated to fedora-glibc-20090509T1828cvs/fedora-glibc-2_10-1
Diffstat (limited to 'sysdeps/unix')
7 files changed, 9 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/ifaddrs.c b/sysdeps/unix/sysv/linux/ifaddrs.c index 150ec8a..149bd1c 100644 --- a/sysdeps/unix/sysv/linux/ifaddrs.c +++ b/sysdeps/unix/sysv/linux/ifaddrs.c @@ -1,5 +1,5 @@ /* getifaddrs -- get names and addresses of all network interfaces - Copyright (C) 2003-2007, 2008 Free Software Foundation, Inc. + Copyright (C) 2003-2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -323,7 +323,7 @@ map_newlink (int index, struct ifaddrs_storage *ifas, int *map, int max) /* Create a linked list of `struct ifaddrs' structures, one for each network interface on the host machine. If successful, store the - list in *IFAP and 2004, 2005, 2006, return 0. On errors, return -1 and set `errno'. */ + list in *IFAP and return 0. On errors, return -1 and set `errno'. */ int getifaddrs (struct ifaddrs **ifap) { 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 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S deleted file mode 100644 index 7e44cdf..0000000 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S +++ /dev/null @@ -1,2 +0,0 @@ -#define _ARCH_PWR6 -#include_next <setcontext.S> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S deleted file mode 100644 index 616e3db..0000000 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S +++ /dev/null @@ -1,2 +0,0 @@ -#define _ARCH_PWR6 -#include_next <swapcontext.S> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S deleted file mode 100644 index 7e44cdf..0000000 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S +++ /dev/null @@ -1,2 +0,0 @@ -#define _ARCH_PWR6 -#include_next <setcontext.S> diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S deleted file mode 100644 index 616e3db..0000000 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S +++ /dev/null @@ -1,2 +0,0 @@ -#define _ARCH_PWR6 -#include_next <swapcontext.S> diff --git a/sysdeps/unix/sysv/linux/sys/personality.h b/sysdeps/unix/sysv/linux/sys/personality.h index ff7c61a..a53a4ee 100644 --- a/sysdeps/unix/sysv/linux/sys/personality.h +++ b/sysdeps/unix/sysv/linux/sys/personality.h @@ -29,6 +29,8 @@ enum { ADDR_NO_RANDOMIZE = 0x0040000, MMAP_PAGE_ZERO = 0x0100000, + ADDR_COMPAT_LAYOUT = 0x0200000, + READ_IMPLIES_EXEC = 0x0400000, ADDR_LIMIT_32BIT = 0x0800000, SHORT_INODE = 0x1000000, WHOLE_SECONDS = 0x2000000, |