Re: [Qemu-devel] [PATCHv2] linux-user: Fix sched_getaffinity mask size

2018-02-15 Thread Laurent Vivier
Le 11/02/2018 à 18:47, Samuel Thibault a écrit : > We properly computed the capped mask size to be put to the application > buffer, but didn't actually used it. Also, we need to return the capped mask > size instead of 0 on success. > > Signed-off-by: Samuel Thibault

Re: [Qemu-devel] [PATCHv2] linux-user: Fix sched_getaffinity mask size

2018-02-11 Thread Laurent Vivier
Le 11/02/2018 à 18:47, Samuel Thibault a écrit : > We properly computed the capped mask size to be put to the application > buffer, but didn't actually used it. Also, we need to return the capped mask > size instead of 0 on success. > > Signed-off-by: Samuel Thibault

[Qemu-devel] [PATCHv2] linux-user: Fix sched_getaffinity mask size

2018-02-11 Thread Samuel Thibault
We properly computed the capped mask size to be put to the application buffer, but didn't actually used it. Also, we need to return the capped mask size instead of 0 on success. Signed-off-by: Samuel Thibault --- Difference from v1: - simplify fix ---