Re: [PATCH] [RFCv2] notify userspace about time changes

Andrew Morton
2010-08-18T22:57:59Z

On Wed, 18 Aug 2010 16:55:39 +0300
Alexander Shishkin <virtuoso@slind.org> wrote:

> Certain userspace applications (like "clock" desktop applets or cron) might
> want to be notified when some other application changes the system time.

The requirements sound a bit fluffy to me.

Any time-displaying application will find out the new time next time
it reads the time. So afaict this is only really useful for clock
applets which display once per minute, so they will show the new time
promptly after the time was altered, yes? Is that really worth adding
new code for?

> It
> might also be important for an application to be able to distinguish between
> its own and somebody else's time changes.

hm. Why? What are you thinking of here, specifically?

Also... what's the story with kernel-NTP updates?