aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/m68k
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-10-19 19:14:27 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-12-07 14:17:28 -0300
commit127945c561535be3975d418fa8f85334a76c298c (patch)
treec474761c747b9f402b8f36710e9f19aabb444930 /sysdeps/unix/sysv/linux/m68k
parent377a14a22a202a0a161778b31a86d3cb6958dc43 (diff)
downloadglibc-127945c561535be3975d418fa8f85334a76c298c.tar
glibc-127945c561535be3975d418fa8f85334a76c298c.tar.gz
glibc-127945c561535be3975d418fa8f85334a76c298c.tar.bz2
glibc-127945c561535be3975d418fa8f85334a76c298c.zip
Linux: Assume and consolidate shutdown wire-up syscall
And disable if kernel does not support it. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/kernel-features.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/sysdeps/unix/sysv/linux/m68k/kernel-features.h
index a65fa63c5e..55b8958fb2 100644
--- a/sysdeps/unix/sysv/linux/m68k/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/m68k/kernel-features.h
@@ -21,13 +21,13 @@
#if __LINUX_KERNEL_VERSION >= 0x040300
# define __ASSUME_GETSOCKNAME_SYSCALL 1
# define __ASSUME_GETPEERNAME_SYSCALL 1
-# define __ASSUME_SHUTDOWN_SYSCALL 1
#endif
#include_next <kernel-features.h>
#undef __ASSUME_ACCEPT_SYSCALL
+/* Direct socketcalls available with kernel 4.3. */
#if __LINUX_KERNEL_VERSION < 0x040300
# undef __ASSUME_ACCEPT4_SYSCALL
# undef __ASSUME_RECVMMSG_SYSCALL
@@ -43,6 +43,7 @@
# undef __ASSUME_SOCKET_SYSCALL
# undef __ASSUME_SOCKETPAIR_SYSCALL
# undef __ASSUME_LISTEN_SYSCALL
+# undef __ASSUME_SHUTDOWN_SYSCALL
#endif
/* No support for PI futexes or robust mutexes before 3.10 for m68k. */