aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-25 21:03:16 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-25 21:03:16 +0000
commitbb0277bff5c444c5593699d5456ab3049fe3c94d (patch)
tree89dc7ad465496b66dc0f0487680ce82025b4dc07
parent9dd8477226db6e5448f4880bb572be8f68b1ee9d (diff)
downloadglibc-bb0277bff5c444c5593699d5456ab3049fe3c94d.tar
glibc-bb0277bff5c444c5593699d5456ab3049fe3c94d.tar.gz
glibc-bb0277bff5c444c5593699d5456ab3049fe3c94d.tar.bz2
glibc-bb0277bff5c444c5593699d5456ab3049fe3c94d.zip
* sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
syscalls, too.
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8279479bbf..74e7d41b38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2008-07-25 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/kernel-features.h: PPC has the new
+ syscalls, too.
+
* nscd/connections.c (nscd_init): Clean up fcntl call.
* nscd/nscd_helper.c (open_socket): Use SOCK_CLOEXEC and
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index d5951317e4..882fa04637 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -501,7 +501,7 @@
/* Support for various CLOEXEC and NONBLOCK flags was added for x86 and
x86-64 in 2.6.27. */
#if __LINUX_KERNEL_VERSION >= 0x02061b \
- && (defined __i386__ || defined __x86_64__)
+ && (defined __i386__ || defined __x86_64__ || defined __powerpc__)
# define __ASSUME_SOCK_CLOEXEC 1
# define __ASSUME_IN_NONBLOCK 1
# define __ASSUME_PACCEPT 1