aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/m68k
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-18 16:28:44 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-20 10:20:37 -0300
commita7bf5f4e699a77529171a5fd3eccd842c5c29827 (patch)
tree9af14d7d3bf60659e0f30cf33281bfae24f8afe6 /sysdeps/unix/sysv/linux/m68k
parent6008978f065e205d986e51e0dabbb7e50bc45914 (diff)
downloadglibc-a7bf5f4e699a77529171a5fd3eccd842c5c29827.tar
glibc-a7bf5f4e699a77529171a5fd3eccd842c5c29827.tar.gz
glibc-a7bf5f4e699a77529171a5fd3eccd842c5c29827.tar.bz2
glibc-a7bf5f4e699a77529171a5fd3eccd842c5c29827.zip
Linux: Assume and consolidate getsockname 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/sysdeps/unix/sysv/linux/m68k/kernel-features.h
index 2d9b225249..e57f09a74e 100644
--- a/sysdeps/unix/sysv/linux/m68k/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/m68k/kernel-features.h
@@ -19,7 +19,6 @@
/* Direct socketcalls available with kernel 4.3. */
#if __LINUX_KERNEL_VERSION >= 0x040300
-# define __ASSUME_GETSOCKNAME_SYSCALL 1
# define __ASSUME_GETPEERNAME_SYSCALL 1
#endif
@@ -44,6 +43,7 @@
# undef __ASSUME_SOCKETPAIR_SYSCALL
# undef __ASSUME_LISTEN_SYSCALL
# undef __ASSUME_SHUTDOWN_SYSCALL
+# undef __ASSUME_GETSOCKNAME_SYSCALL
#endif
/* No support for PI futexes or robust mutexes before 3.10 for m68k. */