qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "André Hentschel" <nerv@dawncrow.de>,
	"Riku Voipio" <riku.voipio@iki.fi>,
	"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH resend] linux-user: Support the accept4 socketcall
Date: Mon, 6 Jan 2014 11:21:24 +0100 (CET)	[thread overview]
Message-ID: <677290994.138361.1389003684490.open-xchange@ox-webdesk.1and1.fr> (raw)
In-Reply-To: <CAFEAcA9sxBX-t7tZDyph4Z2C++PvOo3eO9CXuQ2EOD7ECsN7hA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]


> Le 6 janvier 2014 à 10:14, Peter Maydell <peter.maydell@linaro.org> a écrit :
>
>
> On 6 January 2014 08:45, Laurent Vivier <laurent@vivier.eu> wrote:
> >
> >> Le 6 janvier 2014 à 02:57, André Hentschel <nerv@dawncrow.de> a écrit :
> >> diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
> >> index cf08db5..b36f99c 100644
> >> --- a/linux-user/syscall_defs.h
> >> +++ b/linux-user/syscall_defs.h
> >> @@ -27,6 +27,9 @@
> >> #define SOCKOP_getsockopt 15
> >> #define SOCKOP_sendmsg 16
> >> #define SOCKOP_recvmsg 17
> >> +#define SOCKOP_accept4 18
> >> +#define SOCKOP_recvmmsg 19
> >> +#define SOCKOP_sendmmsg 20
> >
> > Don't add these both defines here as they are not used in this patch.
>
> It doesn't seem that unreasonable to add them. We add things
> to the main syscall number #define list even if we aren't
> actually implementing them, for example.

IMHO, you should not : if you implement these syscalls and then revert this
patch (because it is broken, for instance), you will break the build. The
defines must come with the implementation.

Regards,
Laurent

[-- Attachment #2: Type: text/html, Size: 2334 bytes --]

  reply	other threads:[~2014-01-06 10:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06  1:57 [Qemu-devel] [PATCH resend] linux-user: Support the accept4 socketcall André Hentschel
2014-01-06  3:37 ` Erik de Castro Lopo
2014-01-06  8:45 ` Laurent Vivier
2014-01-06  9:14   ` Peter Maydell
2014-01-06 10:21     ` Laurent Vivier [this message]
2014-01-06 15:38       ` André Hentschel
2014-01-06 16:03         ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=677290994.138361.1389003684490.open-xchange@ox-webdesk.1and1.fr \
    --to=laurent@vivier.eu \
    --cc=nerv@dawncrow.de \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).