aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-19 07:44:48 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-19 07:44:48 +0200
commite92030239abb4038d4f915d47021d6c037239309 (patch)
tree1c8c4877f35df78b7441a5736d8551b9b4877231 /ChangeLog
parent62f71aad7e0d9df95578846134f1738ddf0e7844 (diff)
downloadglibc-e92030239abb4038d4f915d47021d6c037239309.zip
glibc-e92030239abb4038d4f915d47021d6c037239309.tar.gz
glibc-e92030239abb4038d4f915d47021d6c037239309.tar.bz2
Assume that accept4 is always available and works
Simplify the Linux accept4 implementation based on the assumption that it is available in some way. __ASSUME_ACCEPT4_SOCKETCALL was previously unused, so remove it. For ia64, the accept4 system call (and socket call) were backported in kernel version 3.2.18. Reflect this in the installation instructions.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fc8c2e4..28fcdb2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,35 @@
+2017-04-19 Florian Weimer <fweimer@redhat.com>
+
+ * nscd/connections.c (have_accept4): Removed definition.
+ (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
+ accept4 works.
+ * manual/install.texi (Linux): Require at least kernel 3.2.18 for
+ ia64 because that was the first version with accept4 support.
+ * support/Makefile (libsupport-routines): Add xaccept4.
+ * support/xsocket.h (xaccept4): Declare.
+ * support/xaccept4.c: New file.
+ * socket/tst-accept4.c: New file.
+ * socket/Makefile (tests): Add tst-accept4.
+ * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
+ definition.
+ * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
+ comment.
+ * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
+ implementation is available.
+ (accept4): Use the system call if available, otherwise use the
+ socket call.
+ * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
+ Set to 3.2.18.
+ * sysdeps/unix/sysv/linux/ia64/kernel-features.h
+ (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
+ accept4 is unconditionally available in later 3.2 stable kernels.
+ (__ASSUME_ACCEPT4_SYSCALL): Define.
+ * sysdeps/unix/sysv/linux/kernel-features.h
+ (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
+ definitions.
+ * sysdeps/unix/sysv/linux/i386/kernel-features.h
+ (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
+
2017-04-18 Joseph Myers <joseph@codesourcery.com>
* conform/Makefile (tests-special): Do not make addition of