tmp_suning_uos_patched/kernel/time
Torben Hohn 6e6823d17b posix-clocks: Check write permissions in posix syscalls
pc_clock_settime() and pc_clock_adjtime() do not check whether the fd
was opened in write mode, so a clock can be set with a read only fd.

[ tglx: We deliberately do not return -EPERM as we want this to be
  	distingushable from the capability based permission check ]

Signed-off-by: Torben Hohn <torbenh@gmx.de>
LKML-Reference: <1299173174-348-4-git-send-email-torbenh@gmx.de>
Cc: Richard Cochran <richard.cochran@omicron.at>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
2011-03-12 21:27:07 +01:00
..
clockevents.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
clocksource.c Merge branches 'core-fixes-for-linus', 'x86-fixes-for-linus', 'timers-fixes-for-linus' and 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-01-15 12:45:00 -08:00
jiffies.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
Kconfig time: Kill off CONFIG_GENERIC_TIME 2010-07-27 12:40:54 +02:00
Makefile posix clocks: Introduce dynamic clocks 2011-02-02 15:28:20 +01:00
ntp.c ntp: Remove redundant and incorrect parameter check 2011-02-18 17:01:12 +01:00
posix-clock.c posix-clocks: Check write permissions in posix syscalls 2011-03-12 21:27:07 +01:00
tick-broadcast.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
tick-common.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
tick-internal.h time: Fix legacy arch fallout 2011-02-01 09:46:47 +01:00
tick-oneshot.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
tick-sched.c time: Make do_timer() and xtime_lock local to kernel/time/ 2011-01-31 19:26:50 +01:00
timecompare.c time: Use ARRAY_SIZE macro in timecompare.c 2010-10-21 17:30:06 +02:00
timeconv.c time: add function to convert between calendar time and broken-down time for universal use 2009-09-24 07:20:56 -07:00
timekeeping.c time: Extend get_xtime_and_monotonic_offset() to also return sleep 2011-02-21 12:53:07 -08:00
timer_list.c hrtimers: Convert hrtimers to use timerlist infrastructure 2010-12-10 11:54:35 -08:00
timer_stats.c hrtimers: Convert to raw_spinlocks 2009-12-14 23:55:34 +01:00