summaryrefslogtreecommitdiff
path: root/src/sched/sched_yield.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-12-02 21:54:36 -0500
committerRich Felker <dalias@aerifal.cx>2015-03-30 01:41:33 -0400
commit65a0ee3a52246878c15f62770dd9fe51b60aa08e (patch)
treebf3f18d4f1e30adeb8283aa7b7ccf716eb07301b /src/sched/sched_yield.c
parent5c34041293ae1c8aa2ddbd27eca662652f56b790 (diff)
downloadmusl-65a0ee3a52246878c15f62770dd9fe51b60aa08e.tar.gz
fix uninitialized output from sched_getaffinity
the sched_getaffinity syscall only fills a cpu set up to the set size used/supported by the kernel. the rest is left untouched and userspace is responsible for zero-filling it based on the return value of the syscall. (cherry picked from commit a56e339419c1a90f8a85f86621f3c73945e07b23)
Diffstat (limited to 'src/sched/sched_yield.c')
0 files changed, 0 insertions, 0 deletions