glibc/sysdeps
Joseph Myers 0cb5da5c09 Simplify sendmmsg code.
Now we can assume a kernel with sendmmsg support, this patch
simplifies the implementation to be similar to that for accept4:
either using socketcall or the syscall according to whether the
syscall is known to be available, without further fallback
implementations.  The __ASSUME_SENDMMSG macro is kept (now defined
unconditionally), since it's used in resolv/res_send.c.

Tested for x86_64 and x86.

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
	(__ASSUME_SENDMMSG): Likewise.
	(__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
	* sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
	sendmmsg syscall if that can be assumed to be present, socketcall
	otherwise, with no fallback for runtime failure.
2017-05-09 20:01:52 +00:00
..
aarch64 [AArch64] Update libm-test-ulps 2017-03-27 12:02:47 +01:00
alpha Add earlyclobber to sqrtt/sqrtf insns. 2017-04-26 04:21:59 -07:00
arm
generic Fix network headers stdint.h namespace (bug 21455). 2017-05-04 20:36:42 +00:00
gnu Add TCP_FASTOPEN_CONNECT from Linux 4.11 to netinet/tcp.h. 2017-05-01 16:18:31 +00:00
hppa hppa: Fix setting of __libc_stack_end 2017-03-15 13:37:16 -07:00
i386 x86: Set dl_platform and dl_hwcap from CPU features [BZ #21391] 2017-05-03 13:44:35 -07:00
ia64
ieee754 float128: Add _Float128 make bits to libm. 2017-05-09 11:40:28 -03:00
init_array
m68k Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
mach [BZ 21340] add support for POSIX_SPAWN_SETSID 2017-04-25 08:51:12 -03:00
microblaze
mips Remove _dl_platform_string 2017-03-14 17:18:52 +01:00
nacl Assume that accept4 is always available and works 2017-04-19 07:44:48 +02:00
nios2
nptl Narrowing the visibility of libc-internal.h even further. 2017-03-01 20:33:46 -05:00
posix [BZ 21340] add support for POSIX_SPAWN_SETSID 2017-04-25 08:51:12 -03:00
powerpc powerpc: Fix strncat ifunc selection 2017-05-04 12:35:56 +05:30
pthread
s390 Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
sh sh: Fix building with gcc5/6 2017-03-12 17:29:32 -03:00
sparc sparc: handle R_SPARC_DISP64 and R_SPARC_REGISTER relocs 2017-05-02 16:57:31 -03:00
tile
unix Simplify sendmmsg code. 2017-05-09 20:01:52 +00:00
wordsize-32 Build divdi3 only for architecture that required it 2017-04-06 15:14:34 -03:00
wordsize-64
x86 x86: Set dl_platform and dl_hwcap from CPU features [BZ #21391] 2017-05-03 13:44:35 -07:00
x86_64 x86: Set dl_platform and dl_hwcap from CPU features [BZ #21391] 2017-05-03 13:44:35 -07:00