[PATCH] futex: check and validate timevals
authorThomas Gleixner <tglx@linutronix.de>
Fri, 31 Mar 2006 10:31:32 +0000 (02:31 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:59 +0000 (12:18 -0800)
commit9741ef964dc8bfeb6520825df9fed8f538c3336e
tree6cc09d6b10a9ea9119a3a73e226300d747008bfe
parentd425b274ba83ba4e7746a40446ec0ba3267de51f
[PATCH] futex: check and validate timevals

The futex timeval is not checked for correctness.  The change does not
break existing applications as the timeval is supplied by glibc (and glibc
always passes a correct value), but the glibc-internal tests for this
functionality fail.

Signed-off-by: Thomas Gleixner <tglx@tglx.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/futex.c
kernel/futex_compat.c