Skip to content
Commit 9d013d3b authored by Bryan Kadzban's avatar Bryan Kadzban Committed by Linus Torvalds
Browse files

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: default avatarBryan Kadzban <bryan@kdzbn.homelinux.net>
Acked-by: default avatarAlessandro Zummo <alessandro.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 06c65eb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment