linux-user: Define macro for size of host kernel sigset_t
commitb28a1f333a5875e6f48725efd19c76fc3d27d8d1
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 27 May 2016 14:51:47 +0000 (27 15:51 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 7 Jun 2016 13:39:06 +0000 (7 16:39 +0300)
tree4579f2f46e86e7da81bb87192574fffa4688c652
parent9eede5b69fbbed46f29c7c586cf9e067f56002a6
linux-user: Define macro for size of host kernel sigset_t

Some host syscalls take an argument specifying the size of a
host kernel's sigset_t (which isn't necessarily the same as
that of the host libc's type of that name). Instead of hardcoding
_NSIG / 8 where we do this, define and use a SIGSET_T_SIZE macro.

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