[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6662 - in /fsf/trunk/libc: ChangeLog sysdeps/unix/sysv/linux/kernel-features.h
- To: commits@xxxxxxxxxx
- Subject: [commits] r6662 - in /fsf/trunk/libc: ChangeLog sysdeps/unix/sysv/linux/kernel-features.h
- From: eglibc@xxxxxxxxxx
- Date: Fri, 01 Aug 2008 07:06:59 -0000
Author: eglibc
Date: Fri Aug 1 00:06:57 2008
New Revision: 6662
Log:
Import glibc-mainline for 2008-08-01
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Aug 1 00:06:57 2008
@@ -1,3 +1,8 @@
+2008-07-31 Ulrich Drepper <drepper@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/kernel-features.h: Define
+ __ASSUME_O_CLOEXEC.
+
2008-07-30 Ulrich Drepper <drepper@xxxxxxxxxx>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Raise size of initial
Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/kernel-features.h Fri Aug 1 00:06:57 2008
@@ -488,6 +488,14 @@
# 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