linux-user: fix recvmsg emulation
authorAndreas Schwab <schwab@suse.de>
Tue, 12 Feb 2019 16:34:35 +0000 (17:34 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 7 Mar 2019 09:57:28 +0000 (10:57 +0100)
commit24894f39c677a3fd28d0868010a0d50639d49095
tree8ea06ef4af6edcadc00d230369d6c1d83edf434c
parent32694e98b8d7a246345448a8f707d2e11d6c65e2
linux-user: fix recvmsg emulation

Set msg_flags in the returned struct msghdr.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <mvmimxprmn8.fsf@suse.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c