diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2012-01-16 11:13:48 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-01-16 11:13:48 +0000 |
commit | b904676b5e687c8aeabcce297aa6250e07e63462 (patch) | |
tree | 23b25bf5f19aff05c4ef75d1174f501da02c2d7e /src/os/unix/ngx_linux_init.c | |
parent | 9572920af06cf50de76b25060948cac322458f9e (diff) | |
download | nginx-b904676b5e687c8aeabcce297aa6250e07e63462.tar.gz nginx-b904676b5e687c8aeabcce297aa6250e07e63462.zip |
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.
Diffstat (limited to 'src/os/unix/ngx_linux_init.c')
0 files changed, 0 insertions, 0 deletions