glibc/sysdeps/unix/sysv/linux/bits
Joseph Myers 96958e2700 Update SOMAXCONN value from Linux 5.4.
Linux 5.4 changes the SOMAXCONN value from 128 to 4096 (this isn't in
a uapi header; various constants related to the kernel/userspace
interface, including this one, are in the non-uapi linux/socket.h
header).

This patch increases the value in glibc.  As I understand it, it is
safe to use a higher value even with older kernels (the kernel will
simply adjust the value passed to listen to be no more than the value
supported in the kernel), and SOMAXCONN is actually only a default for
a sysctl value in the kernel that can be changed at runtime.  So I
think updating the value in glibc is a reasonable and safe thing to
do.

Tested for x86_64.
2019-11-29 14:17:15 +00:00
..
types Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
a.out.h
dirent_ext.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
dirent.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
epoll.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
errno.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
eventfd.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fcntl-linux.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
fcntl.h
in.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
initspin.h
inotify.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ioctl-types.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ioctls.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ipc-perm.h sysvipc: Set ipc_perm mode as mode_t (BZ#18231) 2019-10-10 17:33:27 -03:00
ipc.h sysvipc: Set ipc_perm mode as mode_t (BZ#18231) 2019-10-10 17:33:27 -03:00
local_lim.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mman-linux.h Define MADV_COLD and MADV_PAGEOUT from Linux 5.4. 2019-11-28 14:54:22 +00:00
mman-map-flags-generic.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mman-shared.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mman.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
mqueue.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
msq-pad.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
msq.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
param.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
poll.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
posix_opt.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
procfs-extra.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
procfs-id.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
procfs-prregset.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
procfs.h Unify some sys/procfs.h headers. 2018-09-25 16:48:15 +00:00
ptrace-shared.h Add PTRACE_GET_SYSCALL_INFO from Linux 5.3 to sys/ptrace.h. 2019-10-14 23:43:52 +00:00
resource.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sched.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem-pad.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sem.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
shm-pad.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
shm.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
shmlba.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sigaction.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sigcontext.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sigevent-consts.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
siginfo-arch.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
siginfo-consts-arch.h Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
siginfo-consts.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
signal_ext.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
signalfd.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
signum.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sigstack.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
socket_type.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
socket-constants.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
socket.h Update SOMAXCONN value from Linux 5.4. 2019-11-29 14:17:15 +00:00
ss_flags.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
stat.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statfs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statvfs.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
statx.h Don't use a custom wrapper macro around __has_include (bug 25189). 2019-11-21 17:54:16 +01:00
sys_errlist.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
sysctl.h Add sysctl.mk and bits/sysctl.h 2012-05-22 13:46:29 -07:00
termios-baud.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-c_cc.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-c_cflag.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-c_iflag.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-c_lflag.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-c_oflag.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-misc.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-struct.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios-tcflow.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
termios.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
time.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timerfd.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
timex.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
uio_lim.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
uio-ext.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
unistd_ext.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
utsname.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
waitflags.h Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00