Messages in this thread | | | Date | Mon, 25 Jul 2005 23:17:20 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Re: itimer oddness in 2.6.12 |
| |
George Anzinger <george@mvista.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |