commit | a491bd5799bf04ac6ea85d5090ac22f603a981b4 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Sun Feb 05 19:25:24 2012 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Sun Feb 05 19:25:24 2012 +0000 |
tree | cf0e93af06a15ddb6c01a3ddbb25e74aa506d9fa | |
parent | c8d012d425137f36ee0b509ce1e95f339cfe5cbc [diff] |
Merge of r4404: Fixed sched_setaffinity(2) to correctly pass size. Second argument (cpusetsize) is size in bytes, not in bits. Previously used constant 32 resulted in reading of uninitialized memory and caused EINVAL to be returned on some Linux kernels.