]> git.proxmox.com Git - qemu.git/commit
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)
commit8f04eeb3c094bf370f131e50b7e3da85d08d518f
tree61b551092d2cfc30c7528bd03d09f2e0c8d3bd04
parent163a05a8398bc4b56c7498fa9901422a159168bf
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