linux-user/syscall.c: Enforce pselect6 sigset size restrictions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 28 Jun 2011 11:21:57 +0000 (12:21 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 11 Jul 2011 13:35:41 +0000 (16:35 +0300)
commitfe6c85e8e49969f79a0e683c4e92941f1c9660f7
tree61b551092d2cfc30c7528bd03d09f2e0c8d3bd04
parentcc0c15ba04da05cbc29b970a81addb85201bee04
linux-user/syscall.c: Enforce pselect6 sigset size restrictions

Enforce the same restriction on the size of the sigset passed to
pselect6 as the Linux kernel does. This is both correct and silences
a gcc 4.6 warning about a write-only variable.

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