From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Andreas Schwab <schwab@suse.de>, qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>, Laurent Vivier <laurent@vivier.eu>
Subject: Re: [Qemu-devel] [PATCH] linux-user: fix recvmsg emulation
Date: Tue, 12 Feb 2019 19:22:12 +0100 [thread overview]
Message-ID: <2d8b7d53-c384-4a8a-f7c7-23a66134ffce@redhat.com> (raw)
In-Reply-To: <mvmimxprmn8.fsf@suse.de>
On 2/12/19 5:34 PM, Andreas Schwab wrote:
> Set msg_flags in the returned struct msghdr.
>
> Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> linux-user/syscall.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 90bfda3563..b6b566a6fa 100644
> --- a/linux-user/syscall.c
> +++ b/linux-user/syscall.c
> @@ -2797,6 +2797,7 @@ static abi_long do_sendrecvmsg_locked(int fd, struct target_msghdr *msgp,
> }
> if (!is_error(ret)) {
> msgp->msg_namelen = tswap32(msg.msg_namelen);
> + msgp->msg_flags = tswap32(msg.msg_flags);
> if (msg.msg_name != NULL && msg.msg_name != (void *)-1) {
> ret = host_to_target_sockaddr(tswapal(msgp->msg_name),
> msg.msg_name, msg.msg_namelen);
>
next prev parent reply other threads:[~2019-02-12 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-12 16:34 [Qemu-devel] [PATCH] linux-user: fix recvmsg emulation Andreas Schwab
2019-02-12 17:09 ` Laurent Vivier
2019-02-12 18:22 ` Philippe Mathieu-Daudé [this message]
2019-02-14 9:23 ` Laurent Vivier
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=2d8b7d53-c384-4a8a-f7c7-23a66134ffce@redhat.com \
--to=philmd@redhat.com \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
--cc=schwab@suse.de \
/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).