diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2009-08-03 11:48:19 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-04 10:16:41 +0200 |
commit | 70d715fd0597f18528f389b5ac59102263067744 (patch) | |
tree | eb3a4fb2a57a19fd1b93e9e3887d9ee7f6c1e0f6 /lib | |
parent | a33a052f19a21d727847391c8c1aff3fb221c472 (diff) | |
download | op-kernel-dev-70d715fd0597f18528f389b5ac59102263067744.zip op-kernel-dev-70d715fd0597f18528f389b5ac59102263067744.tar.gz |
posix-timers: Fix oops in clock_nanosleep() with CLOCK_MONOTONIC_RAW
Prevent calling do_nanosleep() with clockid
CLOCK_MONOTONIC_RAW, it may cause oops, such as NULL pointer
dereference.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: <stable@kernel.org>
LKML-Reference: <4A764FF3.50607@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions