Re: [patch 1/2] posix-timers: Make forward callback return s64

2018-06-28 Thread John Stultz
On Tue, Jun 26, 2018 at 6:21 AM, Thomas Gleixner wrote: > 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

[patch 1/2] posix-timers: Make forward callback return s64

2018-06-26 Thread Thomas Gleixner
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_forwa