]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/unix/sysv/linux/kernel-features.h: Define
authorUlrich Drepper <drepper@redhat.com>
Thu, 31 Jul 2008 20:12:34 +0000 (20:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 31 Jul 2008 20:12:34 +0000 (20:12 +0000)
__ASSUME_O_CLOEXEC.

ChangeLog
sysdeps/unix/sysv/linux/kernel-features.h

index 245929dc24268c87969425df81a3ba026cc706ea..aba02604cb3861a85d36a172317e473dff850b3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h: Define
+       __ASSUME_O_CLOEXEC.
+
 2008-07-30  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
index 271b3fcdd50c29ba9aa4da58820d6f4ee2857572..e0d80a5b063da73ced08cbbfda22640b01864acc 100644 (file)
 # define __ASSUME_FALLOCATE    1
 #endif
 
+/* Support for various CLOEXEC and NONBLOCK flags was added for x86,
+   x86-64, PPC, IA-64, SPARC< and S390 in 2.6.23.  */
+#if __LINUX_KERNEL_VERSION >= 0x020617 \
+    && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
+       || defined __ia64__ || defined __sparc__ || defined __s390__)
+# define __ASSUME_O_CLOEXEC    1
+#endif
+
 /* Support for ADJ_OFFSET_SS_READ was added in 2.6.24.  */
 #if __LINUX_KERNEL_VERSION >= 0x020618
 # define __ASSUME_ADJ_OFFSET_SS_READ   1