From: Laurent Vivier <laurent@vivier.eu>
To: Andreas Schwab <schwab@suse.de>, qemu-devel@nongnu.org
Cc: Riku Voipio <riku.voipio@iki.fi>
Subject: Re: [Qemu-devel] [PATCH] linux-user: fix recvmsg emulation
Date: Tue, 12 Feb 2019 18:09:43 +0100 [thread overview]
Message-ID: <0115d826-3e42-5821-15f8-77841fc851a8@vivier.eu> (raw)
In-Reply-To: <mvmimxprmn8.fsf@suse.de>
On 12/02/2019 17:34, Andreas Schwab wrote:
> Set msg_flags in the returned struct msghdr.
>
> Signed-off-by: Andreas Schwab <schwab@suse.de>
> ---
> 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);
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
next prev parent reply other threads:[~2019-02-12 17:10 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 [this message]
2019-02-12 18:22 ` Philippe Mathieu-Daudé
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=0115d826-3e42-5821-15f8-77841fc851a8@vivier.eu \
--to=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).