The direct socket syscalls are now implemented on i386, m68k and s390,
making socketcall() obsolete. However we need to keep klibc/unstable
working with the last stable kernel version (3.16) so we shouldn't use
them yet.
Gbp-Pq: Name syscalls-override-detection-of-direct-socket-syscalls-on-i386-m68k-s390.patch
/* We have __libc_arch_init() */
#define _KLIBC_HAS_ARCHINIT 1
+/* Use sys_socketcall unconditionally */
+#define _KLIBC_SYS_SOCKETCALL 1
+
#endif /* _KLIBC_ARCHCONFIG_H */
/* On m68k, sys_mmap2 uses the current page size as the shift factor */
#define _KLIBC_MMAP2_SHIFT __getpageshift()
+/* Use sys_socketcall unconditionally */
+#define _KLIBC_SYS_SOCKETCALL 1
+
#endif /* _KLIBC_ARCHCONFIG_H */
/* Both s390 and s390x use the "32-bit" version of this structure */
#define _KLIBC_STATFS_F_TYPE_64 0
+/* Use sys_socketcall unconditionally */
+#define _KLIBC_SYS_SOCKETCALL 1
+
#endif /* _KLIBC_ARCHCONFIG_H */