Re: How is Code in do_sys_settimeofday() safe in case of SMP and Nest Kernel Path?

Andi Kleen
2006-10-03T10:05:54Z

On Tuesday 03 October 2006 10:03, Pavel Machek wrote:
> On Sat 30-09-06 17:03:45, Andi Kleen wrote:
> >
> > > Did you get to the bottom of this yet? It looks like you're right,
> > > and I suggest a seqlock might be a good option.
> >
> > It basically doesn't matter because nobody changes the time zone after boot.
>
> Attacker might; in a tight loop, to confuse time-of-day subsystem, or
> maybe oops the kernel.

(a) only root change it.
(b) the time of day subsystem never cares about the time zone. It is
just a variable stored for user space.

-Andi