original_kernel/drivers/rtc
Bryan Kadzban 9d013d3b14 rtc: allow validated RTC_PIE_ON for non-root
drivers/char/rtc.c allowed RTC_PIE_ON ioctls for non-root users, as long as
the current interval (set via RTC_IRQP_SET) is <= max_user_freq.  Allow
RTC_PIE_ON under the same conditions when /dev/rtc* is handled by the rtc
subsystem.

Signed-off-by: Bryan Kadzban <bryan@kdzbn.homelinux.net>
Acked-by: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:13 -07:00
..
Kconfig rtc: RTC class driver for the ds1374 2007-10-16 09:43:13 -07:00
Makefile rtc: RTC class driver for the ds1374 2007-10-16 09:43:13 -07:00
class.c
hctosys.c
interface.c rtc: fix readback from /sys/class/rtc/rtc?/wakealarm 2007-10-16 09:43:13 -07:00
rtc-at32ap700x.c
rtc-at91rm9200.c
rtc-bfin.c
rtc-cmos.c rtc-cmos probe() cleanup 2007-10-16 09:43:13 -07:00
rtc-core.h
rtc-dev.c rtc: allow validated RTC_PIE_ON for non-root 2007-10-16 09:43:13 -07:00
rtc-ds1216.c
rtc-ds1307.c
rtc-ds1374.c rtc: RTC class driver for the ds1374 2007-10-16 09:43:13 -07:00
rtc-ds1553.c rtc: make rtc-ds1553 driver hotplug-aware 2007-10-16 09:43:13 -07:00
rtc-ds1672.c
rtc-ds1742.c rtc: make rtc-ds1742 driver hotplug-aware 2007-10-16 09:43:13 -07:00
rtc-ep93xx.c
rtc-isl1208.c
rtc-lib.c
rtc-m41t80.c
rtc-m48t59.c
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c
rtc-omap.c
rtc-pcf8563.c
rtc-pcf8583.c rtc-pcf8583: Check for i2c adapter functionality 2007-10-16 09:43:13 -07:00
rtc-pl031.c
rtc-proc.c
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c
rtc-s3c.c
rtc-sa1100.c
rtc-sh.c
rtc-stk17ta8.c
rtc-sysfs.c rtc: add max_user_freq to sysfs 2007-10-16 09:43:13 -07:00
rtc-test.c
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c