aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-06-30 14:23:24 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-07-19 15:20:59 +0300
commitc815701e8169d25ae6f84183f4b593b9335a9798 (patch)
tree1a728de7df4a36072e9703cf3fb69301965074a0 /linux-user/syscall_defs.h
parentc5dff280b8131b14a96b99c13c6a98d497c23271 (diff)
linux-user: Check sigsetsize argument to syscalls
Many syscalls which take a sigset_t argument also take an argument giving the size of the sigset_t. The kernel insists that this matches its idea of the type size and fails EINVAL if it is not. Implement this logic in QEMU. (This mostly just means some LTP test cases which check error cases now pass.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall_defs.h')
0 files changed, 0 insertions, 0 deletions