Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243200
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow |
| Date | 2015-10-09 11:50 +0200 |
| Message-ID | <qhCtk-6Ne-31@gated-at.bofh.it> (permalink) |
| References | <qgWX9-65g-33@gated-at.bofh.it> <qgYFA-9b-5@gated-at.bofh.it> <qhcSf-3J8-23@gated-at.bofh.it> <qhfdp-6Y3-7@gated-at.bofh.it> <qhfQ6-7WO-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 8 Oct 2015, Miroslav Lichvar wrote: > On Thu, Oct 08, 2015 at 10:52:05AM +0200, Arnd Bergmann wrote: > > On Thursday 08 October 2015 08:23:44 Miroslav Lichvar wrote: > > > The difference is that with the one-week step the kernel and userspace > > > still agree on the current time and it is always valid from the kernel > > > point of view, absolute timers can be set, etc. > > > > Ok, I can see that as an improvement, but it still seems to give > > a false sense of safety, and I feel we really should not have any code > > rely on this behavior. > > Applications are not allowed to rely on system time being sane? > To me the current behavior looks like the kernel is throwing the > applications off a cliff, while it's the only thing that can fly :). As Arnd said, you are creating a wrong sense of safety. They fall off the cliff with your changes as well. The fall is just different. Think about timeouts, user space overflows of time_t etc. We need to fix all of it, no matter what. Thanks, tglx -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-07 15:30 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-07 15:50 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-07 16:30 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-07 17:20 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-08 08:30 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Arnd Bergmann <arnd@arndb.de> - 2015-10-08 11:00 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-08 11:40 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Thomas Gleixner <tglx@linutronix.de> - 2015-10-09 11:50 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Thomas Gleixner <tglx@linutronix.de> - 2015-10-09 12:40 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-09 12:50 +0200
Re: [PATCH] timekeeping: Limit system time to prevent 32-bit time_t overflow Miroslav Lichvar <mlichvar@redhat.com> - 2015-10-09 12:40 +0200
csiph-web