Files
kernel-tenderloin-3.0/drivers/rtc
Thomas Gleixner cc4b6e7755 rtc: handle errors correctly in rtc_irq_set_state()
commit 2c4f57d12df7696d65b0247bfd57fd082a7719e6 upstream.

The code checks the correctness of the parameters, but unconditionally
arms/disarms the hrtimer.

The result is that a random task might arm/disarm rtc timer and surprise
the real owner by either generating events or by stopping them.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-04 21:58:32 -07:00
..
2011-04-26 14:01:41 -07:00
2011-03-31 11:26:23 -03:00
2011-06-01 19:29:39 -07:00
2011-03-22 17:44:16 -07:00
2011-05-26 17:12:33 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:33 -07:00
2011-05-26 17:12:33 -07:00
2011-03-31 11:26:23 -03:00