summaryrefslogtreecommitdiff
path: root/src/bootchart/bootchart.c
diff options
context:
space:
mode:
authorGianpaolo Macario <gianpaolo_macario@mentor.com>2015-06-30 15:09:02 +0000
committerGianpaolo Macario <gianpaolo_macario@mentor.com>2015-06-30 15:09:02 +0000
commitc91d0fd2f433af7f314558c59026248a79695ab5 (patch)
treefcd334eeddc15a381edb27d5fb2ad94f4f2c857b /src/bootchart/bootchart.c
parent8914ea0e90f2c9316dcccb6402ff86339eb195e1 (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