diff options
author | Thomas Gleixner <[email protected]> | 2018-06-26 15:21:31 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-07-02 11:33:25 +0200 |
commit | 6fec64e1c92d5c715c6d0f50786daa7708266bde (patch) | |
tree | 1d94835987721b47b135175daf2524835c762335 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ff84735070276d72af716e21c3214ee20d60e70 (diff) |
posix-timers: Make forward callback return s64
The posix timer ti_overrun handling is broken because the forwarding
functions can return a huge number of overruns which does not fit in an
int. As a consequence timer_getoverrun(2) and siginfo::si_overrun can turn
into random number generators.
As a first step to address that let the timer_forward() callbacks return
the full 64 bit value.
Cast it to (int) temporarily until k_itimer::ti_overrun is converted to
64bit and the conversion to user space visible values is sanitized.
Reported-by: Team OWL337 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: John Stultz <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Michael Kerrisk <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions