<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 2:54 PM Petr Vorel <<a href="mailto:pvorel@suse.cz">pvorel@suse.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
> > I guess __NR_socketcall is for x86 and other old architectures,<br>
> > but we still want to use it, right?<br>
<br>
> Maybe I should have kept just 2 variants (libc implementation and only one<br>
> syscall implementation) and chose the correct syscall implementation with<br>
> #ifdef SYS_ACCEPT4<br>
<br>
> Or is there arch which supports both syscall variants?<br>
OK, I can answer myself: ppc64le is example of arch which support both<br>
__NR_accept4 and __NR_socketcall SYS_ACCEPT4.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">That's right, I just verified it on my ppc64le(rhel8) platform, so we can keep the 3 variants test.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For your patchset: </div><div class="gmail_default" style="font-size:small">Reviewed-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>></div></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>