Re: [Y2038] [PATCH 09/16] netfilter: nft_meta: use 64-bit time arithmetic

2019-11-09 Thread Phil Sutter
On Fri, Nov 08, 2019 at 10:32:47PM +0100, Arnd Bergmann wrote: > On 32-bit architectures, get_seconds() returns an unsigned 32-bit > time value, which also matches the type used in the nft_meta > code. This will not overflow in year 2038 as a time_t would, but > it still suffers from the overflow

Re: [Y2038] [PATCH 15/16] drm/etnaviv: use ktime_t for timeouts

2019-11-09 Thread Arnd Bergmann
On Sat, Nov 9, 2019 at 12:03 AM Lucas Stach wrote: > > Am Freitag, den 08.11.2019, 22:32 +0100 schrieb Arnd Bergmann: > > struct timespec is being removed from the kernel because it often leads > > to code that is not y2038-safe. > > > > In the etnaviv driver, monotonic timestamps are used, which

Re: [Y2038] [PATCH 4/8] ipmi: kill off 'timespec' usage again

2019-11-09 Thread Arnd Bergmann
On Fri, Nov 8, 2019 at 11:11 PM Corey Minyard wrote: > > On Fri, Nov 08, 2019 at 09:34:27PM +0100, Arnd Bergmann wrote: > > 'struct timespec' is getting removed from the kernel. The usage in ipmi > > was fixed before in commit 48862ea2ce86 ("ipmi: Update timespec usage > > to timespec64"), but

Re: [Y2038] [PATCH 03/16] net: sock: use __kernel_old_timespec instead of timespec

2019-11-09 Thread Deepa Dinamani
Acked-by: Deepa Dinamani ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH 13/23] y2038: socket: remove timespec reference in timestamping

2019-11-09 Thread Deepa Dinamani
Acked-by: Deepa Dinamani ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH 02/23] y2038: add __kernel_old_timespec and __kernel_old_time_t

2019-11-09 Thread Deepa Dinamani
Acked-by: Deepa Dinamani ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH 10/23] y2038: uapi: change __kernel_time_t to __kernel_old_time_t

2019-11-09 Thread Deepa Dinamani
Acked-by: Deepa Dinamani ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH 04/16] dlm: use SO_SNDTIMEO_NEW instead of SO_SNDTIMEO_OLD

2019-11-09 Thread Deepa Dinamani
Acked-by: Deepa Dinamani ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038

Re: [Y2038] [PATCH 20/23] y2038: move itimer reset into itimer.c

2019-11-09 Thread Arnd Bergmann
On Sat, Nov 9, 2019 at 2:43 PM Ondrej Mosnacek wrote: > > -struct itimerval; > > -extern int do_setitimer(int which, struct itimerval *value, > > - struct itimerval *ovalue); > > -extern int do_getitimer(int which, struct itimerval *value); > > +#ifdef CONFIG_POSIX_TIMERS >

Re: [Y2038] [PATCH 20/23] y2038: move itimer reset into itimer.c

2019-11-09 Thread Ondrej Mosnacek
On Sat, Nov 9, 2019 at 10:03 PM Arnd Bergmann wrote: > > On Sat, Nov 9, 2019 at 2:43 PM Ondrej Mosnacek wrote: > > > > -struct itimerval; > > > -extern int do_setitimer(int which, struct itimerval *value, > > > - struct itimerval *ovalue); > > > -extern int do_getitimer(int