Commit 5fdefcf8 authored by Samuel Thibault's avatar Samuel Thibault Committed by Laurent Vivier
Browse files

linux-user: Fix sched_getaffinity mask size



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: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
Message-Id: <20180211174704.27441-1-samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 2c418853
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment