diff options
author | Gianpaolo Macario <gianpaolo_macario@mentor.com> | 2015-06-30 15:09:02 +0000 |
---|---|---|
committer | Gianpaolo Macario <gianpaolo_macario@mentor.com> | 2015-06-30 15:09:02 +0000 |
commit | c91d0fd2f433af7f314558c59026248a79695ab5 (patch) | |
tree | fcd334eeddc15a381edb27d5fb2ad94f4f2c857b /src/bootchart/bootchart.c | |
parent | 8914ea0e90f2c9316dcccb6402ff86339eb195e1 (diff) |
bootchart: Ensure that /proc/schedstat is read entirely
On multi-core systems file /proc/schedstat may be
larger than 4096 bytes and pread() will only read part of it.
Fix issue https://github.com/systemd/systemd/issues/404
Diffstat (limited to 'src/bootchart/bootchart.c')
0 files changed, 0 insertions, 0 deletions