OSDN Git Service

linux-user: Fix wrong type used for argument to rt_sigqueueinfo
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 20 Jun 2016 14:50:36 +0000 (15:50 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Sun, 26 Jun 2016 10:17:21 +0000 (13:17 +0300)
commit4debae6fa57443adf3b390397a069855ee4c4e4d
treea90609cd9f209d64912d9cb32eb744dcc97d8f8c
parentba4537805da7023ae48cef0cdc06e6724156c596
linux-user: Fix wrong type used for argument to rt_sigqueueinfo

The third argument to the rt_sigqueueinfo syscall is a pointer to
a siginfo_t, not a pointer to a sigset_t. Fix the error in the
arguments to lock_user(), which meant that we would not have
detected some faults that we should.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c