diff options
author | 2007-10-16 01:28:23 -0700 | |
---|---|---|
committer | 2007-10-16 09:43:13 -0700 | |
commit | 9d013d3b14f4c81bdfe6c81fc506037d60007036 (patch) | |
tree | c85405897df18b5dae8530a45586811913136716 /include/linux/connector.h | |
parent | rtc: add max_user_freq to sysfs (diff) | |
download | wireguard-linux-9d013d3b14f4c81bdfe6c81fc506037d60007036.tar.xz wireguard-linux-9d013d3b14f4c81bdfe6c81fc506037d60007036.zip |
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>
Diffstat (limited to 'include/linux/connector.h')
0 files changed, 0 insertions, 0 deletions