aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/alarmtimer.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2011-08-10 10:26:09 -0700
committerJohn Stultz <john.stultz@linaro.org>2011-08-10 10:26:09 -0700
commit6af7e471e5a7746b8024d70b4363d3dfe41d36b8 (patch)
tree33b1af81dfadefcc367307939acbb0d28c07c7c1 /include/linux/alarmtimer.h
parentea7802f630d356acaf66b3c0b28c00a945fc35dc (diff)
downloadkernel_samsung_smdk4412-6af7e471e5a7746b8024d70b4363d3dfe41d36b8.zip
kernel_samsung_smdk4412-6af7e471e5a7746b8024d70b4363d3dfe41d36b8.tar.gz
kernel_samsung_smdk4412-6af7e471e5a7746b8024d70b4363d3dfe41d36b8.tar.bz2
alarmtimers: Avoid possible denial of service with high freq periodic timers
Its possible to jam up the alarm timers by setting very small interval timers, which will cause the alarmtimer subsystem to spend all of its time firing and restarting timers. This can effectivly lock up a box. A deeper fix is needed, closely mimicking the hrtimer code, but for now just cap the interval to 100us to avoid userland hanging the system. CC: Thomas Gleixner <tglx@linutronix.de> CC: stable@kernel.org Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/alarmtimer.h')
0 files changed, 0 insertions, 0 deletions