Re: [Qemu-devel] [PATCH v2] linux-user: Check sigsetsize argument to syscalls

2016-06-30 Thread Laurent Vivier
Le 30/06/2016 à 15:23, Peter Maydell a écrit : > 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 jus

[Qemu-devel] [PATCH v2] linux-user: Check sigsetsize argument to syscalls

2016-06-30 Thread Peter Maydell
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 p