summaryrefslogtreecommitdiff
path: root/src/sched/sched_getparam.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-12-02 21:54:36 -0500
committerRich Felker <dalias@aerifal.cx>2014-12-02 21:54:36 -0500
commita56e339419c1a90f8a85f86621f3c73945e07b23 (patch)
treee15365217b4447ad644fa48e163598dcbd159c3f /src/sched/sched_getparam.c
parentb72cd07f176b876aa51864d93aa8101477b1d732 (diff)
downloadmusl-a56e339419c1a90f8a85f86621f3c73945e07b23.tar.gz
musl-a56e339419c1a90f8a85f86621f3c73945e07b23.tar.bz2
musl-a56e339419c1a90f8a85f86621f3c73945e07b23.tar.xz
musl-a56e339419c1a90f8a85f86621f3c73945e07b23.zip
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.
Diffstat (limited to 'src/sched/sched_getparam.c')
0 files changed, 0 insertions, 0 deletions