[PATCH] S390: Call direct system calls for socket operations.
Joseph Myers
joseph@codesourcery.com
Tue Oct 13 12:08:00 GMT 2015
On Tue, 13 Oct 2015, Adhemerval Zanella wrote:
> I would prefer to not add another arch-specific implementation, but instead
> use something like __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL and use accept4
> directly in sysdeps/unix/sysv/linux/accept.c. Same for recv and send.
Also note that using recvfrom for recv and sendto for send is what the
linux/generic implementations do (but not accept4 for accept - I haven't
checked if that's simply because of the asm-generic syscall interface
being introduced before accept4). Maybe there's futher opportunity for
sharing with those implementations to reduce duplication?
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list