posix-timers: Fix oops in clock_nanosleep() with CLOCK_MONOTONIC_RAW
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Mon, 3 Aug 2009 02:48:19 +0000 (11:48 +0900)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Aug 2009 08:16:41 +0000 (10:16 +0200)
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>

No differences found