Re: [PATCH] Re: itimer oddness in 2.6.12

From: Andrew Morton
Date: Tue Jul 26 2005 - 01:19:33 EST

George Anzinger <george@xxxxxxxxxx> wrote:
> + while (time_before_eq(p->signal->real_timer.expires, jiffies))
> + p->signal->real_timer.expires += inc;

It gives me the creeps when I see timer code doing this, and it seems to be
done relatively frequently.

Surely it can be calculated arithmetically? If not, are you really sure
that it is not exploitable by malicious code?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at