summaryrefslogtreecommitdiffstats
path: root/linux-user/ioctls.h
diff options
context:
space:
mode:
authorPeter Maydell2016-06-30 15:23:24 +0200
committerRiku Voipio2016-07-19 14:20:59 +0200
commitc815701e8169d25ae6f84183f4b593b9335a9798 (patch)
tree1a728de7df4a36072e9703cf3fb69301965074a0 /linux-user/ioctls.h
parentlinux-user: add nested netlink types (diff)
downloadqemu-c815701e8169d25ae6f84183f4b593b9335a9798.tar.gz
qemu-c815701e8169d25ae6f84183f4b593b9335a9798.tar.xz
qemu-c815701e8169d25ae6f84183f4b593b9335a9798.zip
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/ioctls.h')
0 files changed, 0 insertions, 0 deletions