diff options
author | Thomas Gleixner <[email protected]> | 2017-06-12 19:44:09 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-12 21:07:40 +0200 |
commit | 5c7a3a3d20a4e175304c0e23809e3d70be8fed8a (patch) | |
tree | 1787d47a161f70947dd6865ae4527054f46895bc /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | c6503be587e9c5c0aac4e2b45de982352f676a5b (diff) |
posix-timers: Zero out oldval itimerspec
The recent posix timer rework moved the clearing of the itimerspec to the
real syscall implementation, but forgot that the kclock->timer_get() is
used by timer_settime() as well. That results in an uninitialized variable
and bogus values returned to user space.
Add the missing memset to timer_settime().
Fixes: eabdec043853 ("posix-timers: Zero settings value in common code")
Reported-by: Andrei Vagin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Cyrill Gorcunov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions