genode/repos/os/src/drivers
Christian Helmuth 28004bc9e6 timer: limit rate of handling timeouts
Ensure that the timer does not handle timeouts again within 1000
microseconds after the last handling of timeouts. This makes denial of
service attacks harder. This commit does not limit the rate of timeout
signals handled inside the timer but it causes the timer to do it less
often. If a client continuously installs a very small timeout at the
timer it still causes a signal to be submitted to the timer each time
and some extra CPU time to be spent in the internal handling method. But
only every 1000 microseconds this internal handling causes user timeouts
to trigger.

If we would want to limit also the call of the internal handling method
to ensure that CPU time is spent beside the RPCs only every 1000
microseconds, things would get more complex. For instance, on NOVA
Time_source::schedule_timeout(0) must be called each time a new timeout
gets installed and becomes head of the scheduling queue. We cannot
simply overwrite the already running timeout with the new one.

Ref #2490
2017-10-05 17:40:05 +02:00
..
acpi acpi_drv: use platform_info for rsdt/xsdt lookup 2017-06-29 11:59:50 +02:00
ahci ahci: make port enumeration independent from port count 2017-10-05 17:40:00 +02:00
audio/spec/linux Streamline exception types 2017-05-31 13:16:07 +02:00
framebuffer os: fix fb_boot_drv framebuffer padding 2017-08-28 16:49:45 +02:00
gpio/spec Fix source file location in RPi GPIO driver 2017-05-31 13:16:21 +02:00
gpu/intel os: add Gpu driver for Intel Gen8 HD graphics 2017-08-30 09:59:57 +02:00
input Streamline exception types 2017-05-31 13:16:07 +02:00
nic/spec os: removal of deprecated os/config.h (fix #2431) 2017-05-31 13:16:22 +02:00
platform/spec platform_drv: transfer of quota to device_pd 2017-10-05 17:40:00 +02:00
rtc/spec/x86 Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
sd_card default ahci_drv and part_blk Block sessions to read-only 2017-08-28 16:49:51 +02:00
timer timer: limit rate of handling timeouts 2017-10-05 17:40:05 +02:00
uart os: removal of deprecated os/config.h (fix #2431) 2017-05-31 13:16:22 +02:00
usb_block default ahci_drv and part_blk Block sessions to read-only 2017-08-28 16:49:51 +02:00