]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: Fix mq_open
authorLena Djokic <Lena.Djokic@rt-rk.com>
Thu, 24 Nov 2016 16:08:58 +0000 (17:08 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Tue, 14 Feb 2017 16:18:03 +0000 (17:18 +0100)
commit2640077527aef6f799215b336e1ed212843d3753
treea42dfc1d1e765ff8e5537b4eaa269c0da31153b3
parent77c6850fd7412289122bc21f3b01310c014d98d4
linux-user: Fix mq_open

If fourth argument is NULL it should be passed without
using lock_user function which would, in that case, return
EFAULT, and system call supports passing NULL as fourth argument.

Signed-off-by: Lena Djokic <Lena.Djokic@rt-rk.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c