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

2018-01-26 Thread Samuel Thibault
Laurent Vivier, on ven. 26 janv. 2018 21:34:38 +0100, wrote: > Le 26/01/2018 à 19:36, Samuel Thibault a écrit : > > We properly computed the capped mask size to be put to the application > > buffer, but didn't actually it. Also, we need to return the capped mask > > size instead of 0 on success. >

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

2018-01-26 Thread Laurent Vivier
Le 26/01/2018 à 19:36, Samuel Thibault a écrit : > We properly computed the capped mask size to be put to the application > buffer, but didn't actually it. Also, we need to return the capped mask > size instead of 0 on success. > > Signed-off-by: Samuel Thibault > --- > linux-user/syscall.c | 7

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

2018-01-26 Thread Samuel Thibault
We properly computed the capped mask size to be put to the application buffer, but didn't actually it. Also, we need to return the capped mask size instead of 0 on success. Signed-off-by: Samuel Thibault --- linux-user/syscall.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff -