This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] S390: Call direct system calls for socket operations.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]